Enum yaz0::deflate::CompressionLevel
[−]
[src]
pub enum CompressionLevel { Naive { quality: usize, }, Lookahead { quality: usize, }, }
Represents the agressiveness of lookback used by the compressor.
Variants
Naive
Fields of Naive
quality: usize | Lookback distance. Set between 1 and 10; 10 corresponds to greatest lookback distance. |
Lookahead
Fields of Lookahead
quality: usize | Lookback distance. Set between 1 and 10; 10 corresponds to greatest lookback distance. |
Trait Implementations
impl Clone for CompressionLevel
[src]
fn clone(&self) -> CompressionLevel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more