Struct kagamijxl::Decoder [−][src]
pub struct Decoder { pub keep_orientation: Option<bool>, pub need_color_profile: bool, pub need_optional_preview: bool, pub need_optional_dc_frame: bool, pub no_full_frame: bool, pub max_frames: Option<usize>, pub allow_partial: bool, }
Fields
keep_orientation: Option<bool>
need_color_profile: bool
need_optional_preview: bool
need_optional_dc_frame: bool
no_full_frame: bool
max_frames: Option<usize>
Specify when you need at most N frames
allow_partial: bool
Specify when partial input is expected
Implementations
impl Decoder
[src]
impl Decoder
[src]pub fn new() -> Self
[src]
pub fn decode(&self, data: &[u8]) -> Result<DecodeResult, &'static str>
[src]
pub fn decode_file(&self, file: &File) -> Result<DecodeResult, &'static str>
[src]
pub fn decode_buffer(
&self,
buffer: impl BufRead
) -> Result<DecodeResult, &'static str>
[src]
&self,
buffer: impl BufRead
) -> Result<DecodeResult, &'static str>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Decoder
impl RefUnwindSafe for Decoder
impl UnwindSafe for Decoder
impl UnwindSafe for Decoder