[][src]Struct av_data::frame::Frame

pub struct Frame {
    pub kind: MediaKind,
    pub buf: Box<dyn FrameBuffer>,
    pub t: TimeInfo,
}

Fields

kind: MediaKindbuf: Box<dyn FrameBuffer>t: TimeInfo

Methods

impl Frame[src]

pub fn copy_from_slice<'a, I, IU>(&mut self, src: I, src_linesize: IU) where
    I: Iterator<Item = &'a [u8]>,
    IU: Iterator<Item = usize>, 
[src]

pub fn copy_from_raw_parts<'a, I, IU>(&mut self, src: I, src_linesize: IU) where
    I: Iterator<Item = *const u8>,
    IU: Iterator<Item = usize>, 
[src]

Trait Implementations

impl Debug for Frame[src]

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

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

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