pub struct Transport {
pub playing: bool,
pub sample_pos: u64,
pub tempo_bpm: f64,
pub ppq_pos: f64,
}Expand description
Transport state delivered to processors per block.
Fields§
§playing: boolWhether transport is playing.
sample_pos: u64Playhead position in samples.
tempo_bpm: f64Tempo in beats per minute.
ppq_pos: f64Playhead position in quarter notes (pulses per quarter position).
Trait Implementations§
impl Copy for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnsafeUnpin for Transport
impl UnwindSafe for Transport
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