Struct midi_msg::HighResTimeCode [−][src]
Like TimeCode but includes fractional_frames. Used in TimeCodeCueingSetupMsg.
As defined in the MIDI Time Code spec (MMA0001 / RP004 / RP008)
Fields
fractional_frames: u80-99
frames: u80-29
seconds: u80-59
minutes: u80-59
hours: u80-23
code_type: TimeCodeTypeImplementations
impl HighResTimeCode[src]
pub fn to_bytes(self) -> [u8; 5][src]
Return the five byte representation of the frame: [fractional_frames, frames, seconds, minutes, timecode + hours]
Trait Implementations
impl Clone for HighResTimeCode[src]
fn clone(&self) -> HighResTimeCode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for HighResTimeCode[src]
impl Debug for HighResTimeCode[src]
impl Default for HighResTimeCode[src]
fn default() -> HighResTimeCode[src]
impl PartialEq<HighResTimeCode> for HighResTimeCode[src]
fn eq(&self, other: &HighResTimeCode) -> bool[src]
fn ne(&self, other: &HighResTimeCode) -> bool[src]
impl StructuralPartialEq for HighResTimeCode[src]
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
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>,