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]
impl DecoderSettings
Trait Implementations
impl Clone for DecoderSettings
[src]
impl Clone for DecoderSettings
fn clone(&self) -> DecoderSettings
[src]
fn clone(&self) -> DecoderSettings
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 DecoderSettings
[src]
impl Debug for DecoderSettings
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for DecoderSettings
[src]
impl Default for DecoderSettings
Auto Trait Implementations
impl !Send for DecoderSettings
impl !Send for DecoderSettings
impl Sync for DecoderSettings
impl Sync for DecoderSettings