[][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<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 !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, 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.