Enum miniz_oxide::deflate::core::CompressionStrategy [−][src]
#[repr(i32)] pub enum CompressionStrategy { Default, Filtered, HuffmanOnly, RLE, Fixed, }
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
impl Clone for CompressionStrategy
[src]
impl Clone for CompressionStrategy
[src]fn clone(&self) -> CompressionStrategy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for CompressionStrategy
[src]
impl Hash for CompressionStrategy
[src]impl PartialEq<CompressionStrategy> for CompressionStrategy
[src]
impl PartialEq<CompressionStrategy> for CompressionStrategy
[src]fn eq(&self, other: &CompressionStrategy) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl Copy for CompressionStrategy
[src]
impl Eq for CompressionStrategy
[src]
impl StructuralEq for CompressionStrategy
[src]
impl StructuralPartialEq for CompressionStrategy
[src]
Auto Trait Implementations
impl Send for CompressionStrategy
impl Sync for CompressionStrategy
impl Unpin for CompressionStrategy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.