pub struct Lzw;
Expand description
The LZW algorithm used to compress image data in TIFF files.
Trait Implementations§
source§impl Compression for Lzw
impl Compression for Lzw
source§const COMPRESSION_METHOD: CompressionMethod = CompressionMethod::LZW
const COMPRESSION_METHOD: CompressionMethod = CompressionMethod::LZW
The corresponding tag to the algorithm.
source§fn get_algorithm(&self) -> Compressor
fn get_algorithm(&self) -> Compressor
Method to optain a type that can store each variant of comression algorithm.
source§impl CompressionAlgorithm for Lzw
impl CompressionAlgorithm for Lzw
impl Copy for Lzw
impl Eq for Lzw
impl StructuralPartialEq for Lzw
Auto Trait Implementations§
impl Freeze for Lzw
impl RefUnwindSafe for Lzw
impl Send for Lzw
impl Sync for Lzw
impl Unpin for Lzw
impl UnwindSafe for Lzw
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more