Enum surge_traits::imports::WaveshapeType
source · [−]pub enum WaveshapeType {
Off,
SoftTanh,
Hard,
Asymmetric,
Sine,
Digital,
}
Variants
Off
SoftTanh
Hard
Asymmetric
Sine
Digital
Implementations
Trait Implementations
sourceimpl Clone for WaveshapeType
impl Clone for WaveshapeType
sourcefn clone(&self) -> WaveshapeType
fn clone(&self) -> WaveshapeType
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 WaveshapeType
impl Debug for WaveshapeType
sourceimpl Display for WaveshapeType
impl Display for WaveshapeType
sourceimpl Hash for WaveshapeType
impl Hash for WaveshapeType
sourceimpl<T> Index<WaveshapeType> for WaveshapeTypeArray<T>
impl<T> Index<WaveshapeType> for WaveshapeTypeArray<T>
type Output = T
type Output = T
The returned type after indexing.
sourcefn index(
&self,
x: WaveshapeType
) -> &<WaveshapeTypeArray<T> as Index<WaveshapeType>>::Output
fn index(
&self,
x: WaveshapeType
) -> &<WaveshapeTypeArray<T> as Index<WaveshapeType>>::Output
Performs the indexing (container[index]
) operation. Read more
sourceimpl<T> IndexMut<WaveshapeType> for WaveshapeTypeArray<T>
impl<T> IndexMut<WaveshapeType> for WaveshapeTypeArray<T>
sourcefn index_mut(
&mut self,
x: WaveshapeType
) -> &mut <WaveshapeTypeArray<T> as Index<WaveshapeType>>::Output
fn index_mut(
&mut self,
x: WaveshapeType
) -> &mut <WaveshapeTypeArray<T> as Index<WaveshapeType>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
sourceimpl Ord for WaveshapeType
impl Ord for WaveshapeType
sourceimpl PartialEq<WaveshapeType> for WaveshapeType
impl PartialEq<WaveshapeType> for WaveshapeType
sourceimpl PartialOrd<WaveshapeType> for WaveshapeType
impl PartialOrd<WaveshapeType> for WaveshapeType
sourcefn partial_cmp(&self, other: &WaveshapeType) -> Option<Ordering>
fn partial_cmp(&self, other: &WaveshapeType) -> 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 WaveshapeType
impl<'_> TryFrom<&'_ str> for WaveshapeType
sourceimpl TryFrom<u32> for WaveshapeType
impl TryFrom<u32> for WaveshapeType
sourceimpl TryFrom<u64> for WaveshapeType
impl TryFrom<u64> for WaveshapeType
sourceimpl TryFrom<usize> for WaveshapeType
impl TryFrom<usize> for WaveshapeType
impl Copy for WaveshapeType
impl Eq for WaveshapeType
impl StructuralEq for WaveshapeType
impl StructuralPartialEq for WaveshapeType
Auto Trait Implementations
impl RefUnwindSafe for WaveshapeType
impl Send for WaveshapeType
impl Sync for WaveshapeType
impl Unpin for WaveshapeType
impl UnwindSafe for WaveshapeType
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