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 Copy for CompressMode
impl Clone for CompressMode
[src]
impl Clone for CompressMode
fn clone(&self) -> CompressMode
[src]
fn clone(&self) -> CompressMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CompressMode
[src]
impl Debug for CompressMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CompressMode
[src]
impl PartialEq for CompressMode
fn eq(&self, other: &CompressMode) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for CompressMode
[src]
impl Eq for CompressMode
Auto Trait Implementations
impl Send for CompressMode
impl Send for CompressMode
impl Sync for CompressMode
impl Sync for CompressMode