Struct libheif_sys::heif_reader
source · #[repr(C)]pub struct heif_reader {
pub reader_api_version: c_int,
pub get_position: Option<unsafe extern "C" fn(userdata: *mut c_void) -> i64>,
pub read: Option<unsafe extern "C" fn(data: *mut c_void, size: usize, userdata: *mut c_void) -> c_int>,
pub seek: Option<unsafe extern "C" fn(position: i64, userdata: *mut c_void) -> c_int>,
pub wait_for_file_size: Option<unsafe extern "C" fn(target_size: i64, userdata: *mut c_void) -> heif_reader_grow_status>,
}
Fields§
§reader_api_version: c_int
§get_position: Option<unsafe extern "C" fn(userdata: *mut c_void) -> i64>
§read: Option<unsafe extern "C" fn(data: *mut c_void, size: usize, userdata: *mut c_void) -> c_int>
§seek: Option<unsafe extern "C" fn(position: i64, userdata: *mut c_void) -> c_int>
§wait_for_file_size: Option<unsafe extern "C" fn(target_size: i64, userdata: *mut c_void) -> heif_reader_grow_status>
Trait Implementations§
source§impl Clone for heif_reader
impl Clone for heif_reader
source§fn clone(&self) -> heif_reader
fn clone(&self) -> heif_reader
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 more