Struct surge_modulation::imports::PoleTypeArray [−][src]
pub struct PoleTypeArray<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.
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
Returns the “default value” for a type. Read more
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 PoleTypeArray<T> where
T: RefUnwindSafe,
impl<T> Send for PoleTypeArray<T> where
T: Send,
impl<T> Sync for PoleTypeArray<T> where
T: Sync,
impl<T> Unpin for PoleTypeArray<T> where
T: Unpin,
impl<T> UnwindSafe for PoleTypeArray<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more