pub enum BarMarker {
NotRunning,
CountIn(u16),
Number(u16),
RunningUnknown,
}
Expand description
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§
source§impl PartialEq for BarMarker
impl PartialEq for BarMarker
impl Copy for BarMarker
impl Eq for BarMarker
impl StructuralPartialEq for BarMarker
Auto Trait Implementations§
impl Freeze for BarMarker
impl RefUnwindSafe for BarMarker
impl Send for BarMarker
impl Sync for BarMarker
impl Unpin for BarMarker
impl UnwindSafe for BarMarker
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