Struct libheif_sys::heif_writer
source · #[repr(C)]pub struct heif_writer {
pub writer_api_version: c_int,
pub write: Option<unsafe extern "C" fn(ctx: *mut heif_context, data: *const c_void, size: usize, userdata: *mut c_void) -> heif_error>,
}
Fields§
§writer_api_version: c_int
API version supported by this writer
write: Option<unsafe extern "C" fn(ctx: *mut heif_context, data: *const c_void, size: usize, userdata: *mut c_void) -> heif_error>
TODO: why do we need this parameter?
Trait Implementations§
source§impl Clone for heif_writer
impl Clone for heif_writer
source§fn clone(&self) -> heif_writer
fn clone(&self) -> heif_writer
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 heif_writer
impl Debug for heif_writer
impl Copy for heif_writer
Auto Trait Implementations§
impl RefUnwindSafe for heif_writer
impl Send for heif_writer
impl Sync for heif_writer
impl Unpin for heif_writer
impl UnwindSafe for heif_writer
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