Enum image::codecs::png::CompressionType [−][src]
pub enum CompressionType { Default, Fast, Best, Huffman, Rle, // some variants omitted }
Expand description
Compression level of a PNG encoder. The default setting is Fast
.
Variants
Default compression level
Fast, minimal compression
High compression level
Huffman coding compression
Run-length encoding compression
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CompressionType
impl Send for CompressionType
impl Sync for CompressionType
impl Unpin for CompressionType
impl UnwindSafe for CompressionType
Blanket Implementations
Mutably borrows from an owned value. Read more