pub struct LfoAutomaton { /* private fields */ }Expand description
LFO автомат
Implementations§
Source§impl LfoAutomaton
impl LfoAutomaton
Sourcepub fn new(
name: &str,
frequency: f64,
amplitude: f64,
offset: f64,
waveform: LfoWaveform,
) -> Self
pub fn new( name: &str, frequency: f64, amplitude: f64, offset: f64, waveform: LfoWaveform, ) -> Self
Создать новый LFO
pub fn with_range(self, range: Range) -> Self
pub fn with_pulse_width(self, width: f64) -> Self
pub fn with_walk_rate(self, rate: f64) -> Self
Trait Implementations§
Source§impl Automaton for LfoAutomaton
impl Automaton for LfoAutomaton
Source§impl Clone for LfoAutomaton
impl Clone for LfoAutomaton
Source§fn clone(&self) -> LfoAutomaton
fn clone(&self) -> LfoAutomaton
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LfoAutomaton
impl RefUnwindSafe for LfoAutomaton
impl Send for LfoAutomaton
impl Sync for LfoAutomaton
impl Unpin for LfoAutomaton
impl UnsafeUnpin for LfoAutomaton
impl UnwindSafe for LfoAutomaton
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