pub struct Param {
pub parent_uuid: Option<u32>,
pub uuid: u32,
pub name: String,
pub is_vec2: bool,
pub min: [f32; 2],
pub max: [f32; 2],
pub defaults: [f32; 2],
pub axis_points: [Vec<f32>; 2],
pub merge_mode: MergeMode,
pub bindings: Vec<ParamBinding>,
}Fields§
§parent_uuid: Option<u32>Parent node UUID (hierarchical parameter organization).
uuid: u32Global unique identifier of the parameter.
name: StringReadable name (visible in UI as slider).
is_vec2: boolIf true, is 2D vector (X, Y); if false, is scalar.
min: [f32; 2]Minimum allowed value (x, y if vec2).
max: [f32; 2]Maximum allowed value (x, y if vec2).
defaults: [f32; 2]Default value at load (x, y if vec2).
axis_points: [Vec<f32>; 2]Points on X and Y axes for discrete interpolation. Allows snap to specific values.
merge_mode: MergeModeHow multiple bindings affecting the same target are combined.
bindings: Vec<ParamBinding>List of nodes/properties this parameter affects.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more