Enum brotli2::CompressMode [−][src]
#[repr(isize)]pub enum CompressMode { Generic, Text, Font, }
Possible choices for modes of compression
Variants
GenericDefault compression mode, the compressor does not know anything in advance about the properties of the input.
TextCompression mode for utf-8 formatted text input.
FontCompression mode in WOFF 2.0.
Trait Implementations
impl Copy for CompressMode[src]
impl Copy for CompressModeimpl Clone for CompressMode[src]
impl Clone for CompressModefn clone(&self) -> CompressMode[src]
fn clone(&self) -> CompressModeReturns 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 CompressModefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for CompressMode[src]
impl PartialEq for CompressModefn eq(&self, other: &CompressMode) -> bool[src]
fn eq(&self, other: &CompressMode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CompressMode[src]
impl Eq for CompressModeAuto Trait Implementations
impl Send for CompressMode
impl Send for CompressModeimpl Sync for CompressMode
impl Sync for CompressMode