Enum libflate::lz77::CompressionLevel [] [src]

pub enum CompressionLevel {
    None,
    Fast,
    Balance,
    Best,
}

Compression level.

Variants

No compression.

Best speed.

Balanced between speed and size.

Best compression.

Trait Implementations

impl Debug for CompressionLevel
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CompressionLevel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CompressionLevel
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for CompressionLevel
[src]

impl Hash for CompressionLevel
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<CompressionLevel> for CompressionLevel
[src]

[src]

Performs the conversion.

impl From<CompressionLevel> for CompressionLevel
[src]

[src]

Performs the conversion.