Struct libheif_rs::EncodingOptions
source · pub struct EncodingOptions { /* private fields */ }
Implementations§
source§impl EncodingOptions
impl EncodingOptions
pub fn version(&self) -> u8
pub fn save_alpha_channel(&self) -> bool
pub fn set_save_alpha_channel(&mut self, enable: bool)
pub fn mac_os_compatibility_workaround(&self) -> bool
pub fn set_mac_os_compatibility_workaround(&mut self, enable: bool)
pub fn save_two_colr_boxes_when_icc_and_nclx_available(&self) -> bool
pub fn set_save_two_colr_boxes_when_icc_and_nclx_available( &mut self, enable: bool )
pub fn mac_os_compatibility_workaround_no_nclx_profile(&self) -> bool
pub fn set_mac_os_compatibility_workaround_no_nclx_profile( &mut self, enable: bool )
pub fn image_orientation(&self) -> ImageOrientation
pub fn set_image_orientation(&mut self, orientation: ImageOrientation)
pub fn color_conversion_options(&self) -> ColorConversionOptions
pub fn set_color_conversion_options(&mut self, options: ColorConversionOptions)
Trait Implementations§
source§impl Debug for EncodingOptions
impl Debug for EncodingOptions
source§impl Default for EncodingOptions
impl Default for EncodingOptions
Auto Trait Implementations§
impl Freeze for EncodingOptions
impl RefUnwindSafe for EncodingOptions
impl !Send for EncodingOptions
impl !Sync for EncodingOptions
impl Unpin for EncodingOptions
impl UnwindSafe for EncodingOptions
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