Struct surgeosc_fm::FMOscillatorParamArray [−][src]
pub struct FMOscillatorParamArray<T> { /* fields omitted */ }
Expand description
Container to associate each enum variant with a datum.
This is an array type and it implements much of the array API, with a few caveats and exceptions. The foremost deviation from the standard array API is that this container must be indexed using variants of the correct enum type.
Implementations
Create a new array filled with the given value.
Create a new array using a closure to associate each enum variant with its initial value.
Iterate and Enumerate, where Enumerate yields enum variants instead of usize.
pub fn iter_mut_enumerate<'a>(
&'a mut self
) -> impl Iterator<Item = (FMOscillatorParam, &mut T)>
pub fn iter_mut_enumerate<'a>(
&'a mut self
) -> impl Iterator<Item = (FMOscillatorParam, &mut T)>
Iterate and Enumerate, where Enumerate yields enum variants instead of usize.
Returns an array like self, with function f applied to each element.
Trait Implementations
Performs the mutable indexing (container[index]
) operation. Read more
impl<T> PartialOrd<FMOscillatorParamArray<T>> for FMOscillatorParamArray<T> where
T: PartialOrd,
impl<T> PartialOrd<FMOscillatorParamArray<T>> for FMOscillatorParamArray<T> where
T: PartialOrd,
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
Auto Trait Implementations
impl<T> RefUnwindSafe for FMOscillatorParamArray<T> where
T: RefUnwindSafe,
impl<T> Send for FMOscillatorParamArray<T> where
T: Send,
impl<T> Sync for FMOscillatorParamArray<T> where
T: Sync,
impl<T> Unpin for FMOscillatorParamArray<T> where
T: Unpin,
impl<T> UnwindSafe for FMOscillatorParamArray<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more