pub struct ClapTransportInfo {
pub transport_sample: usize,
pub playing: bool,
pub loop_enabled: bool,
pub loop_range_samples: Option<(usize, usize)>,
pub bpm: f64,
pub tsig_num: u16,
pub tsig_denom: u16,
}Fields§
§transport_sample: usize§playing: bool§loop_enabled: bool§loop_range_samples: Option<(usize, usize)>§bpm: f64§tsig_num: u16§tsig_denom: u16Trait Implementations§
Source§impl Clone for ClapTransportInfo
impl Clone for ClapTransportInfo
Source§fn clone(&self) -> ClapTransportInfo
fn clone(&self) -> ClapTransportInfo
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 ClapTransportInfo
impl Debug for ClapTransportInfo
Source§impl Default for ClapTransportInfo
impl Default for ClapTransportInfo
Source§fn default() -> ClapTransportInfo
fn default() -> ClapTransportInfo
Returns the “default value” for a type. Read more
impl Copy for ClapTransportInfo
Auto Trait Implementations§
impl Freeze for ClapTransportInfo
impl RefUnwindSafe for ClapTransportInfo
impl Send for ClapTransportInfo
impl Sync for ClapTransportInfo
impl Unpin for ClapTransportInfo
impl UnsafeUnpin for ClapTransportInfo
impl UnwindSafe for ClapTransportInfo
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