Enum brotli2::CompressMode
[−]
[src]
#[repr(isize)]pub enum CompressMode { Generic, Text, Font, }
Possible choices for modes of compression
Variants
Generic
Default compression mode, the compressor does not know anything in advance about the properties of the input.
Text
Compression mode for utf-8 formatted text input.
Font
Compression mode in WOFF 2.0.
Trait Implementations
impl Copy for CompressMode
[src]
impl Clone for CompressMode
[src]
fn clone(&self) -> CompressMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for CompressMode
[src]
impl PartialEq for CompressMode
[src]
fn eq(&self, __arg_0: &CompressMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.