Enum surge_traits::imports::ModSrcType
source · [−]pub enum ModSrcType {
Undefined,
Controller,
Adsr,
LFO,
StepSequencer,
}
Variants
Undefined
Controller
Adsr
LFO
StepSequencer
Implementations
Trait Implementations
sourceimpl Clone for ModSrcType
impl Clone for ModSrcType
sourcefn clone(&self) -> ModSrcType
fn clone(&self) -> ModSrcType
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 ModSrcType
impl Debug for ModSrcType
sourceimpl Display for ModSrcType
impl Display for ModSrcType
sourceimpl Hash for ModSrcType
impl Hash for ModSrcType
sourceimpl<T> Index<ModSrcType> for ModSrcTypeArray<T>
impl<T> Index<ModSrcType> for ModSrcTypeArray<T>
type Output = T
type Output = T
The returned type after indexing.
sourcefn index(
&self,
x: ModSrcType
) -> &<ModSrcTypeArray<T> as Index<ModSrcType>>::Output
fn index(
&self,
x: ModSrcType
) -> &<ModSrcTypeArray<T> as Index<ModSrcType>>::Output
Performs the indexing (container[index]
) operation. Read more
sourceimpl<T> IndexMut<ModSrcType> for ModSrcTypeArray<T>
impl<T> IndexMut<ModSrcType> for ModSrcTypeArray<T>
sourcefn index_mut(
&mut self,
x: ModSrcType
) -> &mut <ModSrcTypeArray<T> as Index<ModSrcType>>::Output
fn index_mut(
&mut self,
x: ModSrcType
) -> &mut <ModSrcTypeArray<T> as Index<ModSrcType>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
sourceimpl Ord for ModSrcType
impl Ord for ModSrcType
sourceimpl PartialEq<ModSrcType> for ModSrcType
impl PartialEq<ModSrcType> for ModSrcType
sourceimpl PartialOrd<ModSrcType> for ModSrcType
impl PartialOrd<ModSrcType> for ModSrcType
sourcefn partial_cmp(&self, other: &ModSrcType) -> Option<Ordering>
fn partial_cmp(&self, other: &ModSrcType) -> 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 ModSrcType
impl<'_> TryFrom<&'_ str> for ModSrcType
sourceimpl TryFrom<u32> for ModSrcType
impl TryFrom<u32> for ModSrcType
sourceimpl TryFrom<u64> for ModSrcType
impl TryFrom<u64> for ModSrcType
sourceimpl TryFrom<usize> for ModSrcType
impl TryFrom<usize> for ModSrcType
impl Copy for ModSrcType
impl Eq for ModSrcType
impl StructuralEq for ModSrcType
impl StructuralPartialEq for ModSrcType
Auto Trait Implementations
impl RefUnwindSafe for ModSrcType
impl Send for ModSrcType
impl Sync for ModSrcType
impl Unpin for ModSrcType
impl UnwindSafe for ModSrcType
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more