Enum miniz_oxide::deflate::core::CompressionStrategy [−][src]
#[repr(i32)] pub enum CompressionStrategy { Default, Filtered, HuffmanOnly, RLE, Fixed, }
Expand description
Strategy setting for compression.
The non-default settings offer some special-case compression variants.
Variants
Don’t use any of the special strategies.
Only use matches that are at least 5 bytes long.
Don’t look for matches, only huffman encode the literals.
Only look for matches with a distance of 1, i.e do run-length encoding only.
Only use static/fixed blocks. (Blocks using the default huffman codes specified in the deflate specification.)
Trait Implementations
Auto Trait Implementations
impl Send for CompressionStrategy
impl Sync for CompressionStrategy
impl Unpin for CompressionStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more