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
sourceimpl Clone for TimeCodeQuarterFrame
impl Clone for TimeCodeQuarterFrame
sourcefn clone(&self) -> TimeCodeQuarterFrame
fn clone(&self) -> TimeCodeQuarterFrame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TimeCodeQuarterFrame
impl Debug for TimeCodeQuarterFrame
sourceimpl From<TimeCodeQuarterFrame> for U7
impl From<TimeCodeQuarterFrame> for U7
sourcefn from(frame: TimeCodeQuarterFrame) -> Self
fn from(frame: TimeCodeQuarterFrame) -> Self
Converts to this type from the input type.
sourceimpl From<U7> for TimeCodeQuarterFrame
impl From<U7> for TimeCodeQuarterFrame
sourceimpl Hash for TimeCodeQuarterFrame
impl Hash for TimeCodeQuarterFrame
sourceimpl Ord for TimeCodeQuarterFrame
impl Ord for TimeCodeQuarterFrame
sourceimpl PartialEq<TimeCodeQuarterFrame> for TimeCodeQuarterFrame
impl PartialEq<TimeCodeQuarterFrame> for TimeCodeQuarterFrame
sourcefn eq(&self, other: &TimeCodeQuarterFrame) -> bool
fn eq(&self, other: &TimeCodeQuarterFrame) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TimeCodeQuarterFrame) -> bool
fn ne(&self, other: &TimeCodeQuarterFrame) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TimeCodeQuarterFrame> for TimeCodeQuarterFrame
impl PartialOrd<TimeCodeQuarterFrame> for TimeCodeQuarterFrame
sourcefn partial_cmp(&self, other: &TimeCodeQuarterFrame) -> Option<Ordering>
fn partial_cmp(&self, other: &TimeCodeQuarterFrame) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for TimeCodeQuarterFrame
impl Eq for TimeCodeQuarterFrame
impl StructuralEq for TimeCodeQuarterFrame
impl StructuralPartialEq for TimeCodeQuarterFrame
Auto Trait Implementations
impl RefUnwindSafe for TimeCodeQuarterFrame
impl Send for TimeCodeQuarterFrame
impl Sync for TimeCodeQuarterFrame
impl Unpin for TimeCodeQuarterFrame
impl UnwindSafe for TimeCodeQuarterFrame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more