Enum surge_traits::imports::OscillatorParam
source · [−]pub enum OscillatorParam {
Type,
Pitch,
Octave,
KeyTrack,
Retrigger,
}
Variants
Type
Pitch
Octave
KeyTrack
Retrigger
Implementations
sourceimpl OscillatorParam
impl OscillatorParam
pub fn runtime_array() -> OscillatorParamArray<ParamRT<OscillatorParam>>
Trait Implementations
sourceimpl Clone for OscillatorParam
impl Clone for OscillatorParam
sourcefn clone(&self) -> OscillatorParam
fn clone(&self) -> OscillatorParam
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OscillatorParam
impl Debug for OscillatorParam
sourceimpl Display for OscillatorParam
impl Display for OscillatorParam
sourceimpl Hash for OscillatorParam
impl Hash for OscillatorParam
sourceimpl<T> Index<OscillatorParam> for OscillatorParamArray<T>
impl<T> Index<OscillatorParam> for OscillatorParamArray<T>
type Output = T
type Output = T
The returned type after indexing.
sourcefn index(
&self,
x: OscillatorParam
) -> &<OscillatorParamArray<T> as Index<OscillatorParam>>::Output
fn index(
&self,
x: OscillatorParam
) -> &<OscillatorParamArray<T> as Index<OscillatorParam>>::Output
Performs the indexing (container[index]
) operation. Read more
sourceimpl<T> IndexMut<OscillatorParam> for OscillatorParamArray<T>
impl<T> IndexMut<OscillatorParam> for OscillatorParamArray<T>
sourcefn index_mut(
&mut self,
x: OscillatorParam
) -> &mut <OscillatorParamArray<T> as Index<OscillatorParam>>::Output
fn index_mut(
&mut self,
x: OscillatorParam
) -> &mut <OscillatorParamArray<T> as Index<OscillatorParam>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
sourceimpl Ord for OscillatorParam
impl Ord for OscillatorParam
sourceimpl Param for OscillatorParam
impl Param for OscillatorParam
fn control_group(&self) -> ControlGroup
fn control_type(&self) -> ControlType
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 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
sourceimpl PartialEq<OscillatorParam> for OscillatorParam
impl PartialEq<OscillatorParam> for OscillatorParam
sourceimpl PartialOrd<OscillatorParam> for OscillatorParam
impl PartialOrd<OscillatorParam> for OscillatorParam
sourcefn partial_cmp(&self, other: &OscillatorParam) -> Option<Ordering>
fn partial_cmp(&self, other: &OscillatorParam) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'_> TryFrom<&'_ str> for OscillatorParam
impl<'_> TryFrom<&'_ str> for OscillatorParam
sourceimpl TryFrom<u32> for OscillatorParam
impl TryFrom<u32> for OscillatorParam
sourceimpl TryFrom<u64> for OscillatorParam
impl TryFrom<u64> for OscillatorParam
sourceimpl TryFrom<usize> for OscillatorParam
impl TryFrom<usize> for OscillatorParam
impl Copy for OscillatorParam
impl Eq for OscillatorParam
impl StructuralEq for OscillatorParam
impl StructuralPartialEq for OscillatorParam
Auto Trait Implementations
impl RefUnwindSafe for OscillatorParam
impl Send for OscillatorParam
impl Sync for OscillatorParam
impl Unpin for OscillatorParam
impl UnwindSafe for OscillatorParam
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more