pub struct Deflate { /* private fields */ }
Expand description
The Deflate algorithm used to compress image data in TIFF files.
Implementations
sourceimpl Deflate
impl Deflate
sourcepub fn with_level(level: DeflateLevel) -> Self
pub fn with_level(level: DeflateLevel) -> Self
Create a new deflate compressor with a specific level of compression.
Trait Implementations
sourceimpl Compression for Deflate
impl Compression for Deflate
sourceconst COMPRESSION_METHOD: CompressionMethod = CompressionMethod::Deflate
const COMPRESSION_METHOD: CompressionMethod = CompressionMethod::Deflate
The corresponding tag to the algorithm.
sourcefn get_algorithm(&self) -> Compressor
fn get_algorithm(&self) -> Compressor
Method to optain a type that can store each variant of comression algorithm.
sourceimpl CompressionAlgorithm for Deflate
impl CompressionAlgorithm for Deflate
impl Copy for Deflate
Auto Trait Implementations
impl RefUnwindSafe for Deflate
impl Send for Deflate
impl Sync for Deflate
impl Unpin for Deflate
impl UnwindSafe for Deflate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more