Struct dav1d_sys::Dav1dPicAllocator
source · #[repr(C)]pub struct Dav1dPicAllocator {
pub cookie: *mut c_void,
pub alloc_picture_callback: Option<unsafe extern "C" fn(pic: *mut Dav1dPicture, cookie: *mut c_void) -> c_int>,
pub release_picture_callback: Option<unsafe extern "C" fn(pic: *mut Dav1dPicture, cookie: *mut c_void)>,
}
Fields§
§alloc_picture_callback: Option<unsafe extern "C" fn(pic: *mut Dav1dPicture, cookie: *mut c_void) -> c_int>
§release_picture_callback: Option<unsafe extern "C" fn(pic: *mut Dav1dPicture, cookie: *mut c_void)>
Trait Implementations§
source§impl Clone for Dav1dPicAllocator
impl Clone for Dav1dPicAllocator
source§fn clone(&self) -> Dav1dPicAllocator
fn clone(&self) -> Dav1dPicAllocator
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 moresource§impl Debug for Dav1dPicAllocator
impl Debug for Dav1dPicAllocator
impl Copy for Dav1dPicAllocator
Auto Trait Implementations§
impl RefUnwindSafe for Dav1dPicAllocator
impl !Send for Dav1dPicAllocator
impl !Sync for Dav1dPicAllocator
impl Unpin for Dav1dPicAllocator
impl UnwindSafe for Dav1dPicAllocator
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