Enum png::Compression [−][src]
pub enum Compression {
Default,
Fast,
Best,
Huffman,
Rle,
}
Expand description
The type and strength of applied compression.
Variants
Default
Default level
Fast
Fast minimal compression
Best
Higher compression level
Best in this context isn’t actually the highest possible level
the encoder can do, but is meant to emulate the Best
setting in the Flate2
library.
Huffman
Rle
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Compression
impl Send for Compression
impl Sync for Compression
impl Unpin for Compression
impl UnwindSafe for Compression
Blanket Implementations
Mutably borrows from an owned value. Read more