Enum midi_msg::BarMarker [−][src]
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
“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.
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
impl RefUnwindSafe for BarMarker
impl Send for BarMarker
impl Sync for BarMarker
impl Unpin for BarMarker
impl UnwindSafe for BarMarker
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>,