pub struct DecoderContext { /* private fields */ }Expand description
A reusable context for decoding CCITT images.
Implementations§
Source§impl DecoderContext
impl DecoderContext
Sourcepub fn new(settings: DecodeSettings) -> Self
pub fn new(settings: DecodeSettings) -> Self
Creates a new decoder context using the provided decode settings.
Auto Trait Implementations§
impl Freeze for DecoderContext
impl RefUnwindSafe for DecoderContext
impl Send for DecoderContext
impl Sync for DecoderContext
impl Unpin for DecoderContext
impl UnsafeUnpin for DecoderContext
impl UnwindSafe for DecoderContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more