Struct lodepng::ffi::DecoderSettings
[−]
[src]
#[repr(C)]pub struct DecoderSettings { pub zlibsettings: DecompressSettings, pub ignore_crc: c_uint, pub color_convert: c_uint, pub read_text_chunks: c_uint, pub remember_unknown_chunks: c_uint, }
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: c_uint
ignore CRC checksums
color_convert: c_uint
read_text_chunks: c_uint
remember_unknown_chunks: c_uint
Methods
impl DecoderSettings
[src]
Trait Implementations
impl Clone for DecoderSettings
[src]
fn clone(&self) -> DecoderSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more