Struct midi_msg::HighResTimeCode
source · [−]pub struct HighResTimeCode {
pub fractional_frames: u8,
pub frames: u8,
pub seconds: u8,
pub minutes: u8,
pub hours: u8,
pub code_type: TimeCodeType,
}
Expand description
Like TimeCode
but includes fractional_frames
. Used in TimeCodeCueingSetupMsg
.
As defined in the MIDI Time Code spec (MMA0001 / RP004 / RP008)
Fields
fractional_frames: u8
0-99
frames: u8
0-29
seconds: u8
0-59
minutes: u8
0-59
hours: u8
0-23
code_type: TimeCodeType
Implementations
Trait Implementations
sourceimpl Clone for HighResTimeCode
impl Clone for HighResTimeCode
sourcefn clone(&self) -> HighResTimeCode
fn clone(&self) -> HighResTimeCode
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 moresourceimpl Debug for HighResTimeCode
impl Debug for HighResTimeCode
sourceimpl Default for HighResTimeCode
impl Default for HighResTimeCode
sourcefn default() -> HighResTimeCode
fn default() -> HighResTimeCode
Returns the “default value” for a type. Read more
sourceimpl PartialEq<HighResTimeCode> for HighResTimeCode
impl PartialEq<HighResTimeCode> for HighResTimeCode
sourcefn eq(&self, other: &HighResTimeCode) -> bool
fn eq(&self, other: &HighResTimeCode) -> bool
impl Copy for HighResTimeCode
impl Eq for HighResTimeCode
impl StructuralEq for HighResTimeCode
impl StructuralPartialEq for HighResTimeCode
Auto Trait Implementations
impl RefUnwindSafe for HighResTimeCode
impl Send for HighResTimeCode
impl Sync for HighResTimeCode
impl Unpin for HighResTimeCode
impl UnwindSafe for HighResTimeCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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