pub enum LfoWaveform {
Sine,
Triangle,
Saw,
ReverseSaw,
Square,
Pulse(f64),
SampleAndHold,
RandomWalk,
}Expand description
LFO waveform shape.
Variants§
Sine
Smooth sinusoidal wave.
Triangle
Triangular wave.
Saw
Rising sawtooth wave.
ReverseSaw
Falling sawtooth wave.
Square
Square wave.
Pulse(f64)
Pulse wave with configurable duty cycle.
SampleAndHold
Random value held for the duration of one period.
RandomWalk
Smooth random walk (continuous noise).
Implementations§
Trait Implementations§
Source§impl Clone for LfoWaveform
impl Clone for LfoWaveform
Source§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
Source§impl Debug for LfoWaveform
impl Debug for LfoWaveform
Source§impl PartialEq for LfoWaveform
impl PartialEq for LfoWaveform
Source§fn eq(&self, other: &LfoWaveform) -> bool
fn eq(&self, other: &LfoWaveform) -> bool
Tests for
self and other values to be equal, and is used by ==.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