Enum miniz_oxide::deflate::CompressionLevel [−][src]
#[repr(i32)] pub enum CompressionLevel { NoCompression, BestSpeed, BestCompression, UberCompression, DefaultLevel, DefaultCompression, }
Expand description
How much processing the compressor should do to compress the data.
NoCompression
and Bestspeed
have special meanings, the other levels determine the number
of checks for matches in the hash chains and whether to use lazy or greedy parsing.
Variants
Don’t do any compression, only output uncompressed blocks.
Fast compression. Uses a special compression routine that is optimized for speed.
Slow/high compression. Do a lot of checks to try to find good matches.
Even more checks, can be very slow.
Default compromise between speed and compression.
Use the default compression level.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more