Struct midi_msg::UserBits [−][src]
32 bits defined by SMPTE for “special functions”. Used in UniversalRealTimeMsg::TimeCodeUserBits
.
See the SMTPE time code standard.
As defined in the MIDI Time Code spec (MMA0001 / RP004 / RP008)
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)
Implementations
impl UserBits
[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 UserBits
[src]
impl Copy for UserBits
[src]
impl Debug for UserBits
[src]
impl From<UserBits> for StandardUserBits
[src]
impl PartialEq<UserBits> for UserBits
[src]
impl StructuralPartialEq for UserBits
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserBits
impl Send for UserBits
impl Sync for UserBits
impl Unpin for UserBits
impl UnwindSafe for UserBits
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>,