#[repr(C)]pub struct AVBufferPool {
pub mutex: pthread_mutex_t,
pub pool: *mut BufferPoolEntry,
pub refcount: atomic_uint,
pub size: c_int,
pub opaque: *mut c_void,
pub alloc: Option<unsafe extern "C" fn(size: c_int) -> *mut AVBufferRef>,
pub alloc2: Option<unsafe extern "C" fn(opaque: *mut c_void, size: c_int) -> *mut AVBufferRef>,
pub pool_free: Option<unsafe extern "C" fn(opaque: *mut c_void)>,
}
Fields§
§mutex: pthread_mutex_t
§pool: *mut BufferPoolEntry
§refcount: atomic_uint
§size: c_int
§opaque: *mut c_void
§alloc: Option<unsafe extern "C" fn(size: c_int) -> *mut AVBufferRef>
§alloc2: Option<unsafe extern "C" fn(opaque: *mut c_void, size: c_int) -> *mut AVBufferRef>
§pool_free: Option<unsafe extern "C" fn(opaque: *mut c_void)>
Trait Implementations§
Source§impl Clone for AVBufferPool
impl Clone for AVBufferPool
Source§fn clone(&self) -> AVBufferPool
fn clone(&self) -> AVBufferPool
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AVBufferPool
Auto Trait Implementations§
impl Freeze for AVBufferPool
impl RefUnwindSafe for AVBufferPool
impl !Send for AVBufferPool
impl !Sync for AVBufferPool
impl Unpin for AVBufferPool
impl UnwindSafe for AVBufferPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more