Struct lodepng::ffi::DecoderSettings
source · [−]#[repr(C)]pub struct DecoderSettings {
pub zlibsettings: DecompressSettings,
pub ignore_crc: bool,
pub color_convert: bool,
pub read_text_chunks: bool,
pub remember_unknown_chunks: bool,
}
Expand description
Settings for the decoder. This contains settings for the PNG and the Zlib decoder, but not the Info
settings from the Info
structs.
Fields
zlibsettings: DecompressSettings
in here is the setting to ignore Adler32 checksums
ignore_crc: bool
ignore CRC checksums
color_convert: bool
read_text_chunks: bool
remember_unknown_chunks: bool
Implementations
Trait Implementations
sourceimpl Clone for DecoderSettings
impl Clone for DecoderSettings
sourcefn clone(&self) -> DecoderSettings
fn clone(&self) -> DecoderSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DecoderSettings
impl Debug for DecoderSettings
Auto Trait Implementations
impl RefUnwindSafe for DecoderSettings
impl !Send for DecoderSettings
impl Sync for DecoderSettings
impl Unpin for DecoderSettings
impl UnwindSafe for DecoderSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more