[][src]Struct ffmpeg_dev::sys::AVBuffer

#[repr(C)]
pub struct AVBuffer {
    pub data: *mut u8,
    pub size: c_int,
    pub refcount: atomic_uint,
    pub free: Option<unsafe extern "C" fn(opaque: *mut c_void, data: *mut u8)>,
    pub opaque: *mut c_void,
    pub flags: c_int,
}

Fields

data: *mut u8

< data described by this buffer

size: c_int

< size of data in bytes

refcount: atomic_uint

number of existing AVBufferRef instances referring to this buffer

free: Option<unsafe extern "C" fn(opaque: *mut c_void, data: *mut u8)>

a callback for freeing the data

opaque: *mut c_void

an opaque pointer, to be used by the freeing callback

flags: c_int

A combination of BUFFER_FLAG_*

Trait Implementations

impl Clone for AVBuffer[src]

impl Copy for AVBuffer[src]

impl Debug for AVBuffer[src]

Auto Trait Implementations

impl !Send for AVBuffer

impl !Sync for AVBuffer

impl Unpin for AVBuffer

impl UnwindSafe for AVBuffer

impl RefUnwindSafe for AVBuffer

Blanket Implementations

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 = !

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

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

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