pub enum LfoRate {
Cycles(f64),
Hertz(f64),
}Expand description
How fast an LFO runs.
A bare number is musical — a period measured in cycles, which follows the
tempo. An hz suffix opts into absolute time instead.
Variants§
Cycles(f64)
Period in cycles: 4 is one sweep every four cycles.
Hertz(f64)
Frequency in hertz: 0.5hz is one sweep every two seconds.
Trait Implementations§
impl Copy for LfoRate
impl StructuralPartialEq for LfoRate
Auto Trait Implementations§
impl Freeze for LfoRate
impl RefUnwindSafe for LfoRate
impl Send for LfoRate
impl Sync for LfoRate
impl Unpin for LfoRate
impl UnsafeUnpin for LfoRate
impl UnwindSafe for LfoRate
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