Trait surgeshaper_asym::imports::imports::Param [−]
pub trait Param: Debug {
Show 20 methods
fn control_type(&self) -> ControlType { ... }
fn control_group(&self) -> ControlGroup { ... }
fn control_style(&self) -> ControlStyle { ... }
fn default_value(&self) -> PData { ... }
fn modulateable(&self) -> bool { ... }
fn min_value(&self) -> PData { ... }
fn max_value(&self) -> PData { ... }
fn value_type(&self) -> ValType { ... }
fn moverate(&self) -> f32 { ... }
fn snap(&self) -> bool { ... }
fn extend_range(&self) -> bool { ... }
fn affect_other_parameters(&self) -> bool { ... }
fn can_temposync(&self) -> bool { ... }
fn can_extend_range(&self) -> bool { ... }
fn can_be_absolute(&self) -> bool { ... }
fn can_snap(&self) -> bool { ... }
fn get_modulation_f01(&self, modulation: f32) -> f32 { ... }
fn set_modulation_f01(&self, v: f32) -> f32 { ... }
fn get_extended(&self, f: f32) -> f32 { ... }
fn get_default_value_f01(&self) -> f32 { ... }
}
Provided methods
fn control_type(&self) -> ControlType
fn control_group(&self) -> ControlGroup
fn control_style(&self) -> ControlStyle
fn default_value(&self) -> PData
fn modulateable(&self) -> bool
fn value_type(&self) -> ValType
fn extend_range(&self) -> bool
fn affect_other_parameters(&self) -> bool
fn can_temposync(&self) -> bool
fn can_extend_range(&self) -> bool
fn can_be_absolute(&self) -> bool
fn get_modulation_f01(&self, modulation: f32) -> f32
fn get_modulation_f01(&self, modulation: f32) -> f32
used by the gui to get the position of the modulated handle
fn set_modulation_f01(&self, v: f32) -> f32
fn set_modulation_f01(&self, v: f32) -> f32
used by the gui to set the modulation to match the position of the modulated handle