pub struct Transport {
pub playing: bool,
pub recording: bool,
pub tempo: f64,
pub time_sig_num: u8,
pub time_sig_den: u8,
pub position_samples: i64,
pub position_seconds: f64,
pub position_beats: f64,
pub bar_start_beats: f64,
pub loop_active: bool,
pub loop_start_beats: f64,
pub loop_end_beats: f64,
}Fields§
§playing: bool§recording: bool§tempo: f64§time_sig_num: u8§time_sig_den: u8§position_samples: i64§position_seconds: f64§position_beats: f64§bar_start_beats: f64§loop_active: bool§loop_start_beats: f64§loop_end_beats: f64Trait Implementations§
Source§impl Clone for TransportInfo
impl Clone for TransportInfo
Source§fn clone(&self) -> TransportInfo
fn clone(&self) -> TransportInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 TransportInfo
impl Debug for TransportInfo
Source§impl Default for TransportInfo
impl Default for TransportInfo
Source§fn default() -> TransportInfo
fn default() -> TransportInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransportInfo
impl RefUnwindSafe for TransportInfo
impl Send for TransportInfo
impl Sync for TransportInfo
impl Unpin for TransportInfo
impl UnsafeUnpin for TransportInfo
impl UnwindSafe for TransportInfo
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