Struct midi_msg::TimeSignature[][src]

pub struct TimeSignature {
    pub signature: Signature,
    pub midi_clocks_in_metronome_click: u8,
    pub thirty_second_notes_in_midi_quarter_note: u8,
    pub compound: Vec<Signature>,
}

Used to communicate a new time signature to the receiver. Used by UniversalRealTimeMsg.

Fields

signature: Signature

The base time signature.

midi_clocks_in_metronome_click: u8

How 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: u8

Number 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]

impl Debug for TimeSignature[src]

impl Default for TimeSignature[src]

impl PartialEq<TimeSignature> for TimeSignature[src]

impl StructuralPartialEq for TimeSignature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.