#[repr(C)]pub struct de265_image_allocation {
pub get_buffer: Option<unsafe extern "C" fn(ctx: *mut de265_decoder_context, spec: *mut de265_image_spec, img: *mut de265_image, userdata: *mut c_void) -> c_int>,
pub release_buffer: Option<unsafe extern "C" fn(ctx: *mut de265_decoder_context, img: *mut de265_image, userdata: *mut c_void)>,
}
Fields§
§get_buffer: Option<unsafe extern "C" fn(ctx: *mut de265_decoder_context, spec: *mut de265_image_spec, img: *mut de265_image, userdata: *mut c_void) -> c_int>
§release_buffer: Option<unsafe extern "C" fn(ctx: *mut de265_decoder_context, img: *mut de265_image, userdata: *mut c_void)>
Trait Implementations§
Source§impl Clone for de265_image_allocation
impl Clone for de265_image_allocation
Source§fn clone(&self) -> de265_image_allocation
fn clone(&self) -> de265_image_allocation
Returns a duplicate 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 de265_image_allocation
impl Debug for de265_image_allocation
impl Copy for de265_image_allocation
Auto Trait Implementations§
impl Freeze for de265_image_allocation
impl RefUnwindSafe for de265_image_allocation
impl Send for de265_image_allocation
impl Sync for de265_image_allocation
impl Unpin for de265_image_allocation
impl UnwindSafe for de265_image_allocation
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