Struct surge_traits::imports::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,
fn limit_range(&mut self)
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,
fn clear_flags(&mut self)
impl<P> ConvertValueToFromNormalized for ParamRT<P> where
P: Param,
impl<P> ConvertValueToFromNormalized for ParamRT<P> where
P: Param,
fn value2normalized(&self, value: f32) -> f32
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,
fn set_modulation_val(&mut self, val: PData)
fn get_modulation_val(&self) -> PData
fn set_param_val(&mut self, val: PData)
fn get_param_val(&self) -> PData
fn get_value_f01(&self) -> f32
fn set_value_f01(&mut self, v: f32, force_integer: bool)
impl<P> Param for ParamRT<P> where
P: Param + ?Sized,
impl<P> Param for ParamRT<P> where
P: Param + ?Sized,
fn control_type(&self) -> ControlType
fn control_style(&self) -> ControlStyle
fn control_group(&self) -> ControlGroup
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 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,
fn get_display(&self, external: bool, ef: f32) -> String
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> Send for ParamRT<P> where
P: Send,
impl<P: ?Sized> Sync for ParamRT<P> where
P: Sync,
impl<P: ?Sized> Unpin for ParamRT<P>
impl<P: ?Sized> UnwindSafe for ParamRT<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more