Struct surgefilter_comb::imports::ParamRT [−]
pub struct ParamRT<P> where
P: Param + ?Sized, {
pub val: PData,
pub modulation_delta: PData,
pub midictrl: Option<i32>,
pub per_voice_processing: bool,
pub temposync: bool,
pub extend_range: bool,
pub absolute: bool,
pub snap: bool,
pub delegate: Box<P, Global>,
}
Fields
val: PData
modulation_delta: PData
midictrl: Option<i32>
per_voice_processing: bool
temposync: bool
extend_range: bool
absolute: bool
snap: bool
delegate: Box<P, Global>
Implementations
Trait Implementations
impl<P> BoundValue for ParamRT<P> where
P: Param + ?Sized,
impl<P> BoundValue for ParamRT<P> where
P: Param + ?Sized,
pub fn limit_range(&mut self)
pub fn bound_value(&mut self, force_integer: bool)
impl<P> ClearFlags for ParamRT<P> where
P: Param,
impl<P> ClearFlags for ParamRT<P> where
P: Param,
pub fn clear_flags(&mut self)
impl<P> ConvertValueToFromNormalized for ParamRT<P> where
P: Param,
impl<P> ConvertValueToFromNormalized for ParamRT<P> where
P: Param,
pub fn value2normalized(&self, value: f32) -> f32
pub fn normalized2value(&self, value: f32) -> f32
impl<P> GetSetModulation for ParamRT<P> where
P: Param + ?Sized,
impl<P> GetSetModulation for ParamRT<P> where
P: Param + ?Sized,
pub fn set_modulation_val(&mut self, val: PData)
pub fn get_modulation_val(&self) -> PData
pub fn set_param_val(&mut self, val: PData)
pub fn get_param_val(&self) -> PData
pub fn get_value_f01(&self) -> f32
pub fn set_value_f01(&mut self, v: f32, force_integer: bool)
pub fn control_type(&self) -> ControlType
pub fn control_style(&self) -> ControlStyle
pub fn control_group(&self) -> ControlGroup
pub fn default_value(&self) -> PData
pub fn modulateable(&self) -> bool
pub fn value_type(&self) -> ValType
pub fn extend_range(&self) -> bool
pub 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 Read more
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 Read more
fn get_extended(&self, f: f32) -> f32
fn get_default_value_f01(&self) -> f32
impl<P> ParameterDisplay for ParamRT<P> where
P: Param,
impl<P> ParameterDisplay for ParamRT<P> where
P: Param,
pub fn get_display(&self, external: bool, ef: f32) -> String
pub fn get_display_alt(&self, external: bool, ef: f32) -> String
Auto Trait Implementations
impl<P: ?Sized> RefUnwindSafe for ParamRT<P> where
P: RefUnwindSafe,
impl<P: ?Sized> UnwindSafe for ParamRT<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more