pub struct DecoderRegistry(/* private fields */);Expand description
A registry of decoders.
This allows end users to register their own decoders, for custom compression methods, or override the default decoder implementations.
use async_tiff::decoder::DecoderRegistry;
// Default registry includes Deflate, LZW, JPEG, ZSTD.
let registry = DecoderRegistry::default();
// Empty registry for manual configuration.
let empty = DecoderRegistry::empty();Implementations§
Trait Implementations§
Source§impl AsMut<HashMap<CompressionMethod, Box<dyn Decoder>>> for DecoderRegistry
impl AsMut<HashMap<CompressionMethod, Box<dyn Decoder>>> for DecoderRegistry
Source§impl AsRef<HashMap<CompressionMethod, Box<dyn Decoder>>> for DecoderRegistry
impl AsRef<HashMap<CompressionMethod, Box<dyn Decoder>>> for DecoderRegistry
Source§impl Debug for DecoderRegistry
impl Debug for DecoderRegistry
Auto Trait Implementations§
impl Freeze for DecoderRegistry
impl !RefUnwindSafe for DecoderRegistry
impl Send for DecoderRegistry
impl Sync for DecoderRegistry
impl Unpin for DecoderRegistry
impl !UnwindSafe for DecoderRegistry
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