pub enum EffectTime {
Seconds(f64),
Beats {
beats: f64,
bpm: f64,
},
}Expand description
Delay time in seconds or beats with an explicit tempo. To follow a tempo change, send updated settings with the new BPM; the time follows the requested ramp.
Variants§
Trait Implementations§
Source§impl Clone for EffectTime
impl Clone for EffectTime
Source§fn clone(&self) -> EffectTime
fn clone(&self) -> EffectTime
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 EffectTime
Source§impl Debug for EffectTime
impl Debug for EffectTime
Source§impl PartialEq for EffectTime
impl PartialEq for EffectTime
impl StructuralPartialEq for EffectTime
Auto Trait Implementations§
impl Freeze for EffectTime
impl RefUnwindSafe for EffectTime
impl Send for EffectTime
impl Sync for EffectTime
impl Unpin for EffectTime
impl UnsafeUnpin for EffectTime
impl UnwindSafe for EffectTime
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