Struct matroska_demuxer::Frame[][src]

pub struct Frame {
    pub track: u64,
    pub timestamp: u64,
    pub data: Vec<u8>,
    pub is_invisible: bool,
    pub is_keyframe: Option<bool>,
    pub is_discardable: Option<bool>,
}

A data frame inside the Matroska container.

Fields

track: u64

The ID of the track.

timestamp: u64

The timestamp of the frame.

data: Vec<u8>

The data of the frame.

is_invisible: bool

Set when the codec should decode this frame but not display it.

is_keyframe: Option<bool>

Block marked this frame as a keyframe.

Only set for files that use simple blocks.

is_discardable: Option<bool>

Set when the frame can be discarded during playing if needed.

Only set for files that use simple blocks.

Trait Implementations

impl Clone for Frame[src]

impl Debug for Frame[src]

impl Default for Frame[src]

Auto Trait Implementations

impl RefUnwindSafe for Frame

impl Send for Frame

impl Sync for Frame

impl Unpin for Frame

impl UnwindSafe for Frame

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> 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.