pub struct TransportState {
pub playhead_sample: u64,
pub tempo: f64,
pub numerator: u32,
pub denominator: u32,
pub flags: u32,
pub sample_rate_hz: f64,
/* private fields */
}Expand description
Transport state block (256 bytes).
Fields§
§playhead_sample: u64§tempo: f64§numerator: u32§denominator: u32§flags: u32§sample_rate_hz: f64Trait Implementations§
Source§impl Clone for TransportState
impl Clone for TransportState
Source§fn clone(&self) -> TransportState
fn clone(&self) -> TransportState
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 moreimpl Copy for TransportState
Source§impl Debug for TransportState
impl Debug for TransportState
Source§impl Default for TransportState
impl Default for TransportState
Source§fn default() -> TransportState
fn default() -> TransportState
Returns the “default value” for a type. Read more
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