pub enum TimeCodeQuarterFrame {
FrameCountLsNibble(U4),
FrameCountMsNibble(U4),
SecondsCountLsNibble(U4),
SecondsCountMsNibble(U4),
MinutesCountLsNibble(U4),
MinutesCountMsNibble(U4),
HoursCountLsNibble(U4),
Last {
hours_count_ms_bit: bool,
time_code_type: TimeCodeType,
},
}
Expand description
Possible contents of a MIDI Time Code Quarter Frame message.
Each frame is part of the MIDI Time Code information used for synchronization of MIDI equipment and other equipment, such as audio or video tape machines.
Variants§
FrameCountLsNibble(U4)
FrameCountMsNibble(U4)
SecondsCountLsNibble(U4)
SecondsCountMsNibble(U4)
MinutesCountLsNibble(U4)
MinutesCountMsNibble(U4)
HoursCountLsNibble(U4)
Last
Trait Implementations§
Source§impl Clone for TimeCodeQuarterFrame
impl Clone for TimeCodeQuarterFrame
Source§fn clone(&self) -> TimeCodeQuarterFrame
fn clone(&self) -> TimeCodeQuarterFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimeCodeQuarterFrame
impl Debug for TimeCodeQuarterFrame
Source§impl From<TimeCodeQuarterFrame> for U7
impl From<TimeCodeQuarterFrame> for U7
Source§fn from(frame: TimeCodeQuarterFrame) -> Self
fn from(frame: TimeCodeQuarterFrame) -> Self
Converts to this type from the input type.
Source§impl From<U7> for TimeCodeQuarterFrame
impl From<U7> for TimeCodeQuarterFrame
Source§impl Hash for TimeCodeQuarterFrame
impl Hash for TimeCodeQuarterFrame
Source§impl Ord for TimeCodeQuarterFrame
impl Ord for TimeCodeQuarterFrame
Source§fn cmp(&self, other: &TimeCodeQuarterFrame) -> Ordering
fn cmp(&self, other: &TimeCodeQuarterFrame) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimeCodeQuarterFrame
impl PartialEq for TimeCodeQuarterFrame
Source§impl PartialOrd for TimeCodeQuarterFrame
impl PartialOrd for TimeCodeQuarterFrame
impl Copy for TimeCodeQuarterFrame
impl Eq for TimeCodeQuarterFrame
impl StructuralPartialEq for TimeCodeQuarterFrame
Auto Trait Implementations§
impl Freeze for TimeCodeQuarterFrame
impl RefUnwindSafe for TimeCodeQuarterFrame
impl Send for TimeCodeQuarterFrame
impl Sync for TimeCodeQuarterFrame
impl Unpin for TimeCodeQuarterFrame
impl UnwindSafe for TimeCodeQuarterFrame
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