pub struct TransportSnapshot {
pub sample: usize,
pub tempo_bpm: f64,
pub playing: bool,
pub transport_running: bool,
pub tsig_num: u16,
pub tsig_denom: u16,
}Fields§
§sample: usize§tempo_bpm: f64§playing: bool§transport_running: bool§tsig_num: u16§tsig_denom: u16Trait Implementations§
Source§impl Clone for TransportSnapshot
impl Clone for TransportSnapshot
Source§fn clone(&self) -> TransportSnapshot
fn clone(&self) -> TransportSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransportSnapshot
impl Debug for TransportSnapshot
Auto Trait Implementations§
impl Freeze for TransportSnapshot
impl RefUnwindSafe for TransportSnapshot
impl Send for TransportSnapshot
impl Sync for TransportSnapshot
impl Unpin for TransportSnapshot
impl UnsafeUnpin for TransportSnapshot
impl UnwindSafe for TransportSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more