Struct webp_animation::prelude::DecoderOptions
source · [−]Expand description
An options struct for Decoder
For usage, see Decoder::new_with_options
Fields
use_threads: boolIf true, use multi-threaded decoding. Enabled by default
color_mode: ColorModeOutput colorspace. ColorMode::Rgba by default. Affects Frame output
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecoderOptions
impl Send for DecoderOptions
impl Sync for DecoderOptions
impl Unpin for DecoderOptions
impl UnwindSafe for DecoderOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more