pub enum MacroStep {
Frames {
frames: u16,
hz: u16,
},
Ticks(u16),
}Expand description
A macro’s step interval. Frame clocks are explicit simulation rates, independent of audio callback size. Tick clocks are relative to the note’s first sample.
Variants§
Frames
One step per frames simulation frames at hz frames/second; both 1..=1000.
Ticks(u16)
One step per 1..=960 score ticks.
Trait Implementations§
impl Copy for MacroStep
impl Eq for MacroStep
impl StructuralPartialEq for MacroStep
Auto Trait Implementations§
impl Freeze for MacroStep
impl RefUnwindSafe for MacroStep
impl Send for MacroStep
impl Sync for MacroStep
impl Unpin for MacroStep
impl UnsafeUnpin for MacroStep
impl UnwindSafe for MacroStep
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