pub struct Transport {
pub tempo: Option<f64>,
pub pos_samples: i64,
pub playing: bool,
}Expand description
Transport information for timing-aware DSP.
Provides context about playback state, tempo, and position.
Fields§
§tempo: Option<f64>Current tempo in BPM (beats per minute).
pos_samples: i64Current playback position in samples.
playing: boolTrue if the host is playing.
Trait Implementations§
impl Copy 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 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