Enum surge_traits::imports::FilterParam
source · [−]pub enum FilterParam {
Type,
SubType,
Cutoff,
Resonance,
EnvelopeMode,
KeyTrack,
}
Variants
Type
SubType
Cutoff
Resonance
EnvelopeMode
KeyTrack
Implementations
Trait Implementations
sourceimpl Clone for FilterParam
impl Clone for FilterParam
sourcefn clone(&self) -> FilterParam
fn clone(&self) -> FilterParam
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 FilterParam
impl Debug for FilterParam
sourceimpl Display for FilterParam
impl Display for FilterParam
sourceimpl Hash for FilterParam
impl Hash for FilterParam
sourceimpl<T> Index<FilterParam> for FilterParamArray<T>
impl<T> Index<FilterParam> for FilterParamArray<T>
type Output = T
type Output = T
The returned type after indexing.
sourcefn index(
&self,
x: FilterParam
) -> &<FilterParamArray<T> as Index<FilterParam>>::Output
fn index(
&self,
x: FilterParam
) -> &<FilterParamArray<T> as Index<FilterParam>>::Output
Performs the indexing (container[index]
) operation. Read more
sourceimpl<T> IndexMut<FilterParam> for FilterParamArray<T>
impl<T> IndexMut<FilterParam> for FilterParamArray<T>
sourcefn index_mut(
&mut self,
x: FilterParam
) -> &mut <FilterParamArray<T> as Index<FilterParam>>::Output
fn index_mut(
&mut self,
x: FilterParam
) -> &mut <FilterParamArray<T> as Index<FilterParam>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
sourceimpl Ord for FilterParam
impl Ord for FilterParam
sourceimpl Param for FilterParam
impl Param for FilterParam
fn control_group(&self) -> ControlGroup
fn control_type(&self) -> ControlType
fn default_value(&self) -> PData
fn min_value(&self) -> PData
fn max_value(&self) -> PData
fn modulateable(&self) -> bool
fn value_type(&self) -> ValType
fn moverate(&self) -> f32
fn control_style(&self) -> ControlStyle
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<FilterParam> for FilterParam
impl PartialEq<FilterParam> for FilterParam
sourceimpl PartialOrd<FilterParam> for FilterParam
impl PartialOrd<FilterParam> for FilterParam
sourcefn partial_cmp(&self, other: &FilterParam) -> Option<Ordering>
fn partial_cmp(&self, other: &FilterParam) -> 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 FilterParam
impl<'_> TryFrom<&'_ str> for FilterParam
sourceimpl TryFrom<u32> for FilterParam
impl TryFrom<u32> for FilterParam
sourceimpl TryFrom<u64> for FilterParam
impl TryFrom<u64> for FilterParam
sourceimpl TryFrom<usize> for FilterParam
impl TryFrom<usize> for FilterParam
impl Copy for FilterParam
impl Eq for FilterParam
impl StructuralEq for FilterParam
impl StructuralPartialEq for FilterParam
Auto Trait Implementations
impl RefUnwindSafe for FilterParam
impl Send for FilterParam
impl Sync for FilterParam
impl Unpin for FilterParam
impl UnwindSafe for FilterParam
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