pub struct TransportState {
pub bpm: f64,
pub time_signature: TimeSignature,
pub running: bool,
pub current_beat: f64,
pub quantization_beats: f64,
pub loop_beats: Option<f64>,
pub loop_beat: Option<f64>,
pub server_time_ms: Option<u64>,
}Fields§
§bpm: f64§time_signature: TimeSignature§running: bool§current_beat: f64§quantization_beats: f64§loop_beats: Option<f64>Loop length in beats from longest active sequence (null if no sequences).
loop_beat: Option<f64>Current beat position within the loop (current_beat % loop_beats).
server_time_ms: Option<u64>Server timestamp when this state was captured (milliseconds since Unix epoch).
Trait Implementations§
Source§impl Debug for TransportState
impl Debug for TransportState
Auto Trait Implementations§
impl Freeze for TransportState
impl RefUnwindSafe for TransportState
impl Send for TransportState
impl Sync for TransportState
impl Unpin for TransportState
impl UnsafeUnpin for TransportState
impl UnwindSafe for TransportState
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