Enum png::Compression [−][src]
pub enum Compression { Default, Fast, Best, Huffman, Rle, }
The type and strength of applied compression.
Variants
Default level
Fast minimal compression
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.
Trait Implementations
impl Clone for Compression
[src]
impl Clone for Compression
[src]fn clone(&self) -> Compression
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<Compression> for Compression
[src]
impl From<Compression> for Compression
[src]fn from(c: Compression) -> Self
[src]
impl From<Compression> for CompressionOptions
[src]
impl From<Compression> for CompressionOptions
[src]