pub enum At {
Immediate,
Frame(u64),
Beat(f64),
Bar(u32),
NextBeat,
NextBar,
Marker(String),
Section(String),
}Expand description
Where a command lands on the timeline, resolved to an exact frame at schedule time (the transport lives on the control side, so musical resolution never touches the render path).
Variants§
Immediate
The next frame.
Frame(u64)
An absolute frame.
Beat(f64)
An absolute beat (through the tempo map).
Bar(u32)
An absolute bar (through the meter map and pickup).
NextBeat
The next whole beat after the current position.
NextBar
The next bar line after the current position.
Marker(String)
A named marker’s position.
Section(String)
A named section’s first bar.
Trait Implementations§
impl StructuralPartialEq for At
Auto Trait Implementations§
impl Freeze for At
impl RefUnwindSafe for At
impl Send for At
impl Sync for At
impl Unpin for At
impl UnsafeUnpin for At
impl UnwindSafe for At
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