Enum midi_msg::BarMarker[][src]

pub enum BarMarker {
    NotRunning,
    CountIn(u16),
    Number(u16),
    RunningUnknown,
}

Indicates that the next MIDI clock message is the first clock of a new measure. Which bar is optionally indicated by this message. Used by UniversalRealTimeMsg::BarMarker.

Variants

NotRunning

“Actually, we’re not running right now, so there is no bar.” Don’t know why this is used.

CountIn(u16)

The bar is a count-in and are thus negative numbers from 8191-0.

Number(u16)

A regular bar numbered 1-8191.

RunningUnknown

Next clock message will be a new bar, but it’s not known what its number is.

Trait Implementations

impl Clone for BarMarker[src]

impl Copy for BarMarker[src]

impl Debug for BarMarker[src]

impl PartialEq<BarMarker> for BarMarker[src]

impl StructuralPartialEq for BarMarker[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.