Enum LfoWaveform
pub enum LfoWaveform {
Sine,
Triangle,
Square,
SawUp,
SawDown,
SampleAndHold,
}Expand description
LFO waveform shapes.
Variants§
Sine
Smooth sine wave - classic tremolo sound.
Triangle
Linear triangle wave - similar to sine but brighter.
Square
Hard square wave - choppy, staccato effect.
SawUp
Rising sawtooth - asymmetric, “ramping” feel.
SawDown
Falling sawtooth - reverse ramp.
SampleAndHold
Random levels held for each cycle - sample-and-hold.
Trait Implementations§
§impl Clone for LfoWaveform
impl Clone for LfoWaveform
§fn clone(&self) -> LfoWaveform
fn clone(&self) -> LfoWaveform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LfoWaveform
§impl Debug for LfoWaveform
impl Debug for LfoWaveform
impl Eq for LfoWaveform
§impl PartialEq for LfoWaveform
impl PartialEq for LfoWaveform
impl StructuralPartialEq for LfoWaveform
Auto Trait Implementations§
impl Freeze for LfoWaveform
impl RefUnwindSafe for LfoWaveform
impl Send for LfoWaveform
impl Sync for LfoWaveform
impl Unpin for LfoWaveform
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.