Struct libheif_sys::heif_decoding_options [−][src]
#[repr(C)]pub struct heif_decoding_options { pub version: u8, pub ignore_transformations: u8, pub start_progress: Option<unsafe extern "C" fn(step: heif_progress_step, max_progress: c_int, progress_user_data: *mut c_void)>, pub on_progress: Option<unsafe extern "C" fn(step: heif_progress_step, progress: c_int, progress_user_data: *mut c_void)>, pub end_progress: Option<unsafe extern "C" fn(step: heif_progress_step, progress_user_data: *mut c_void)>, pub progress_user_data: *mut c_void, pub convert_hdr_to_8bit: u8, }
Fields
version: u8
ignore_transformations: u8
start_progress: Option<unsafe extern "C" fn(step: heif_progress_step, max_progress: c_int, progress_user_data: *mut c_void)>
on_progress: Option<unsafe extern "C" fn(step: heif_progress_step, progress: c_int, progress_user_data: *mut c_void)>
end_progress: Option<unsafe extern "C" fn(step: heif_progress_step, progress_user_data: *mut c_void)>
progress_user_data: *mut c_void
convert_hdr_to_8bit: u8
Trait Implementations
impl Clone for heif_decoding_options
[src]
impl Clone for heif_decoding_options
[src]fn clone(&self) -> heif_decoding_options
[src]
fn clone(&self) -> heif_decoding_options
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for heif_decoding_options
[src]
impl Debug for heif_decoding_options
[src]impl Copy for heif_decoding_options
[src]
Auto Trait Implementations
impl RefUnwindSafe for heif_decoding_options
impl !Send for heif_decoding_options
impl !Sync for heif_decoding_options
impl Unpin for heif_decoding_options
impl UnwindSafe for heif_decoding_options
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more