Enum surgefilter_comb::imports::ControlGroup [−]
pub enum ControlGroup {
Nil,
Global,
Osc,
Mix,
Filter,
Env,
Lfo,
Fx,
}
Variants
Implementations
impl ControlGroup
impl ControlGroup
pub fn iter() -> impl Iterator<Item = ControlGroup>
pub fn iter() -> impl Iterator<Item = ControlGroup>
Iterate over all variants in this enum, in sorted order.
Trait Implementations
impl Clone for ControlGroup
impl Clone for ControlGroup
pub fn clone(&self) -> ControlGroup
pub fn clone(&self) -> ControlGroup
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ControlGroup
impl Debug for ControlGroup
impl Display for ControlGroup
impl Display for ControlGroup
impl Hash for ControlGroup
impl Hash for ControlGroup
impl<T> Index<ControlGroup> for ControlGroupArray<T>
impl<T> Index<ControlGroup> for ControlGroupArray<T>
type Output = T
type Output = T
The returned type after indexing.
pub fn index(
&self,
x: ControlGroup
) -> &<ControlGroupArray<T> as Index<ControlGroup>>::Output
pub fn index(
&self,
x: ControlGroup
) -> &<ControlGroupArray<T> as Index<ControlGroup>>::Output
Performs the indexing (container[index]
) operation. Read more
impl<T> IndexMut<ControlGroup> for ControlGroupArray<T>
impl<T> IndexMut<ControlGroup> for ControlGroupArray<T>
pub fn index_mut(
&mut self,
x: ControlGroup
) -> &mut <ControlGroupArray<T> as Index<ControlGroup>>::Output
pub fn index_mut(
&mut self,
x: ControlGroup
) -> &mut <ControlGroupArray<T> as Index<ControlGroup>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
impl Ord for ControlGroup
impl Ord for ControlGroup
pub fn cmp(&self, other: &ControlGroup) -> Ordering
pub fn cmp(&self, other: &ControlGroup) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<ControlGroup> for ControlGroup
impl PartialEq<ControlGroup> for ControlGroup
impl PartialOrd<ControlGroup> for ControlGroup
impl PartialOrd<ControlGroup> for ControlGroup
pub fn partial_cmp(&self, other: &ControlGroup) -> Option<Ordering>
pub fn partial_cmp(&self, other: &ControlGroup) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<'_> TryFrom<&'_ str> for ControlGroup
impl<'_> TryFrom<&'_ str> for ControlGroup
pub fn try_from(
value: &str
) -> Result<ControlGroup, <ControlGroup as TryFrom<&'_ str>>::Error>
pub fn try_from(
value: &str
) -> Result<ControlGroup, <ControlGroup as TryFrom<&'_ str>>::Error>
Performs the conversion.
impl TryFrom<u32> for ControlGroup
impl TryFrom<u32> for ControlGroup
pub fn try_from(
value: u32
) -> Result<ControlGroup, <ControlGroup as TryFrom<u32>>::Error>
pub fn try_from(
value: u32
) -> Result<ControlGroup, <ControlGroup as TryFrom<u32>>::Error>
Performs the conversion.
impl TryFrom<u64> for ControlGroup
impl TryFrom<u64> for ControlGroup
pub fn try_from(
value: u64
) -> Result<ControlGroup, <ControlGroup as TryFrom<u64>>::Error>
pub fn try_from(
value: u64
) -> Result<ControlGroup, <ControlGroup as TryFrom<u64>>::Error>
Performs the conversion.
impl TryFrom<usize> for ControlGroup
impl TryFrom<usize> for ControlGroup
pub fn try_from(
value: usize
) -> Result<ControlGroup, <ControlGroup as TryFrom<usize>>::Error>
pub fn try_from(
value: usize
) -> Result<ControlGroup, <ControlGroup as TryFrom<usize>>::Error>
Performs the conversion.
impl Copy for ControlGroup
impl Eq for ControlGroup
impl StructuralEq for ControlGroup
impl StructuralPartialEq for ControlGroup
Auto Trait Implementations
impl RefUnwindSafe for ControlGroup
impl Send for ControlGroup
impl Sync for ControlGroup
impl Unpin for ControlGroup
impl UnwindSafe for ControlGroup
Blanket Implementations
Mutably borrows from an owned value. Read more