pub struct TempoMapRef {
pub id: Symbol,
pub us_per_quarter: u32,
}Expand description
A reference to a tempo map, carrying its id and constant tempo.
Fields§
§id: SymbolThe qualified identifier of the tempo map.
us_per_quarter: u32Microseconds per quarter note for the (constant) tempo.
Implementations§
Trait Implementations§
Source§impl Clone for TempoMapRef
impl Clone for TempoMapRef
Source§fn clone(&self) -> TempoMapRef
fn clone(&self) -> TempoMapRef
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 TempoMapRef
impl Debug for TempoMapRef
Source§impl Default for TempoMapRef
impl Default for TempoMapRef
impl Eq for TempoMapRef
Source§impl PartialEq for TempoMapRef
impl PartialEq for TempoMapRef
impl StructuralPartialEq for TempoMapRef
Auto Trait Implementations§
impl Freeze for TempoMapRef
impl RefUnwindSafe for TempoMapRef
impl Send for TempoMapRef
impl Sync for TempoMapRef
impl Unpin for TempoMapRef
impl UnsafeUnpin for TempoMapRef
impl UnwindSafe for TempoMapRef
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