Struct midi_msg::TimeSignature [−][src]
Used to communicate a new time signature to the receiver.
Used by UniversalRealTimeMsg.
Fields
signature: SignatureThe base time signature.
midi_clocks_in_metronome_click: u8How many MIDI clock events per metronome click.
24 indicates one click per quarter note (unless specified otherwise by thirty_second_notes_in_midi_quarter_note)
thirty_second_notes_in_midi_quarter_note: u8Number of notated 32nd notes in a MIDI quarter note. 8 is the normal value (e.g. a midi quarter note is a quarter note)
compound: Vec<Signature>At most 61 (!) additional times signatures for compound time definitions
Trait Implementations
impl Clone for TimeSignature[src]
fn clone(&self) -> TimeSignature[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TimeSignature[src]
impl Default for TimeSignature[src]
impl PartialEq<TimeSignature> for TimeSignature[src]
fn eq(&self, other: &TimeSignature) -> bool[src]
fn ne(&self, other: &TimeSignature) -> bool[src]
impl StructuralPartialEq for TimeSignature[src]
Auto Trait Implementations
impl RefUnwindSafe for TimeSignature
impl Send for TimeSignature
impl Sync for TimeSignature
impl Unpin for TimeSignature
impl UnwindSafe for TimeSignature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,