Struct midi_msg::StandardUserBits [−][src]
Like UserBits
but allows for the embedding of a “secondary time code”.
As defined in MIDI Machine Control 1.0 (MMA0016 / RP013)
Fields
bytes: (u8, u8, u8, u8)
Full bytes can be used here. Sent such that the first is considered the “most significant” value
flag1: bool
SMPTE time code bit 43 (EBU bit 27)
flag2: bool
SMPTE time code bit 59 (EBU bit 43)
secondary_time_code: bool
Contains a secondary time code
Implementations
impl StandardUserBits
[src]
pub fn to_nibbles(&self) -> [u8; 9]
[src]
Turn the UserBits
into its 9 nibble representation:
[nibble_1, nibble_2, nibble_3, nibble_4, nibble_5, nibble_6, nibble_7, nibble_8, nibble_9, nibble_flags]
Trait Implementations
impl Clone for StandardUserBits
[src]
fn clone(&self) -> StandardUserBits
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StandardUserBits
[src]
impl Debug for StandardUserBits
[src]
impl From<StandardUserBits> for TimeCode
[src]
fn from(t: StandardUserBits) -> Self
[src]
impl From<TimeCode> for StandardUserBits
[src]
impl From<UserBits> for StandardUserBits
[src]
impl PartialEq<StandardUserBits> for StandardUserBits
[src]
fn eq(&self, other: &StandardUserBits) -> bool
[src]
fn ne(&self, other: &StandardUserBits) -> bool
[src]
impl StructuralPartialEq for StandardUserBits
[src]
Auto Trait Implementations
impl RefUnwindSafe for StandardUserBits
impl Send for StandardUserBits
impl Sync for StandardUserBits
impl Unpin for StandardUserBits
impl UnwindSafe for StandardUserBits
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>,