pub struct ParamDef {
pub name: String,
pub default: f64,
pub min: f64,
pub max: f64,
}Expand description
A named runtime parameter definition (a mutable control slot).
Fields§
§name: StringParameter name.
default: f64Initial/default value.
min: f64Minimum (clamp lower bound).
max: f64Maximum (clamp upper bound).
Trait Implementations§
impl StructuralPartialEq for ParamDef
Auto Trait Implementations§
impl Freeze for ParamDef
impl RefUnwindSafe for ParamDef
impl Send for ParamDef
impl Sync for ParamDef
impl Unpin for ParamDef
impl UnsafeUnpin for ParamDef
impl UnwindSafe for ParamDef
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