pub enum LfoWaveform {
Tri,
Sin,
Sqr,
Saw,
Exp,
Rmp,
Rnd,
}
Expand description
The shape of an LFO wave.
Variants§
Trait Implementations§
source§impl Clone for LfoWaveform
impl Clone for LfoWaveform
source§fn clone(&self) -> LfoWaveform
fn clone(&self) -> LfoWaveform
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LfoWaveform
impl Debug for LfoWaveform
source§impl Default for LfoWaveform
impl Default for LfoWaveform
source§fn default() -> LfoWaveform
fn default() -> LfoWaveform
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LfoWaveform
impl<'de> Deserialize<'de> for LfoWaveform
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<LfoWaveform> for &str
impl From<LfoWaveform> for &str
source§fn from(waveform: LfoWaveform) -> Self
fn from(waveform: LfoWaveform) -> Self
Converts to this type from the input type.
source§impl From<LfoWaveform> for u8
impl From<LfoWaveform> for u8
source§fn from(value: LfoWaveform) -> Self
fn from(value: LfoWaveform) -> Self
Converts to this type from the input type.
source§impl Hash for LfoWaveform
impl Hash for LfoWaveform
source§impl Ord for LfoWaveform
impl Ord for LfoWaveform
source§fn cmp(&self, other: &LfoWaveform) -> Ordering
fn cmp(&self, other: &LfoWaveform) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for LfoWaveform
impl PartialEq for LfoWaveform
source§fn eq(&self, other: &LfoWaveform) -> bool
fn eq(&self, other: &LfoWaveform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LfoWaveform
impl PartialOrd for LfoWaveform
source§fn partial_cmp(&self, other: &LfoWaveform) -> Option<Ordering>
fn partial_cmp(&self, other: &LfoWaveform) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for LfoWaveform
impl Serialize for LfoWaveform
source§impl TryFrom<&str> for LfoWaveform
impl TryFrom<&str> for LfoWaveform
source§impl TryFrom<u8> for LfoWaveform
impl TryFrom<u8> for LfoWaveform
impl Copy for LfoWaveform
impl Eq for LfoWaveform
impl StructuralEq for LfoWaveform
impl StructuralPartialEq for LfoWaveform
Auto Trait Implementations§
impl RefUnwindSafe for LfoWaveform
impl Send for LfoWaveform
impl Sync for LfoWaveform
impl Unpin for LfoWaveform
impl UnwindSafe for LfoWaveform
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more