Struct timecode::Timecode[][src]

pub struct Timecode<FrameRate> {
    pub hours: u8,
    pub minutes: u8,
    pub seconds: u8,
    pub frame: u8,
    pub drop_frame: bool,
    pub color_frame: bool,
    // some fields omitted
}

Fields

hours: u8minutes: u8seconds: u8frame: u8drop_frame: boolcolor_frame: bool

Implementations

impl<FrameRate> Timecode<FrameRate>[src]

pub fn parse_smpte_331m(data: &[u8]) -> Option<Self>[src]

pub fn parse_smpte_12m(data: &[u8]) -> Option<Self>[src]

Trait Implementations

impl<FrameRate: Clone> Clone for Timecode<FrameRate>[src]

impl<FrameRate: Debug> Debug for Timecode<FrameRate>[src]

impl<FrameRate> From<u32> for Timecode<FrameRate>[src]

impl<FrameRate: PartialEq> PartialEq<Timecode<FrameRate>> for Timecode<FrameRate>[src]

impl<FrameRate> Serialize for Timecode<FrameRate>[src]

impl<FrameRate> StructuralPartialEq for Timecode<FrameRate>[src]

impl<FrameRate> ToString for Timecode<FrameRate>[src]

Auto Trait Implementations

impl<FrameRate> RefUnwindSafe for Timecode<FrameRate> where
    FrameRate: RefUnwindSafe

impl<FrameRate> Send for Timecode<FrameRate> where
    FrameRate: Send

impl<FrameRate> Sync for Timecode<FrameRate> where
    FrameRate: Sync

impl<FrameRate> Unpin for Timecode<FrameRate> where
    FrameRate: Unpin

impl<FrameRate> UnwindSafe for Timecode<FrameRate> where
    FrameRate: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,