pub struct UserBits {
pub bytes: (u8, u8, u8, u8),
pub flag1: bool,
pub flag2: bool,
}
Expand description
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§
Trait Implementations§
source§impl From<UserBits> for StandardUserBits
impl From<UserBits> for StandardUserBits
source§impl PartialEq for UserBits
impl PartialEq for UserBits
impl Copy for UserBits
impl Eq for UserBits
impl StructuralPartialEq for UserBits
Auto Trait Implementations§
impl Freeze for UserBits
impl RefUnwindSafe for UserBits
impl Send for UserBits
impl Sync for UserBits
impl Unpin for UserBits
impl UnwindSafe for UserBits
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