[][src]Struct ffmpeg::util::frame::Frame

pub struct Frame { /* fields omitted */ }

Implementations

impl Frame[src]

pub unsafe fn wrap(ptr: *mut AVFrame) -> Self[src]

pub unsafe fn empty() -> Self[src]

pub unsafe fn as_ptr(&self) -> *const AVFrame[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFrame[src]

pub unsafe fn is_empty(&self) -> bool[src]

impl Frame[src]

pub fn is_key(&self) -> bool[src]

pub fn is_corrupt(&self) -> bool[src]

pub fn packet(&self) -> Packet[src]

pub fn pts(&self) -> Option<i64>[src]

pub fn set_pts(&mut self, value: Option<i64>)[src]

pub fn timestamp(&self) -> Option<i64>[src]

pub fn quality(&self) -> usize[src]

pub fn flags(&self) -> Flags[src]

pub fn metadata(&self) -> DictionaryRef<'_>[src]

pub fn set_metadata(&mut self, value: Dictionary<'_>)[src]

pub fn side_data(&self, kind: Type) -> Option<SideData<'_>>[src]

pub fn new_side_data(&mut self, kind: Type, size: usize) -> Option<SideData<'_>>[src]

pub fn remove_side_data(&mut self, kind: Type)[src]

Trait Implementations

impl Drop for Frame[src]

impl Eq for Frame[src]

impl From<Frame> for Video[src]

impl From<Frame> for Audio[src]

impl PartialEq<Frame> for Frame[src]

impl Send for Frame[src]

impl StructuralEq for Frame[src]

impl StructuralPartialEq for Frame[src]

impl Sync for Frame[src]

Auto Trait Implementations

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