Enum brotli::enc::backward_references::BrotliEncoderMode
source · #[repr(C)]pub enum BrotliEncoderMode {
BROTLI_MODE_GENERIC = 0,
BROTLI_MODE_TEXT = 1,
BROTLI_MODE_FONT = 2,
BROTLI_FORCE_LSB_PRIOR = 3,
BROTLI_FORCE_MSB_PRIOR = 4,
BROTLI_FORCE_UTF8_PRIOR = 5,
BROTLI_FORCE_SIGNED_PRIOR = 6,
}
Variants§
BROTLI_MODE_GENERIC = 0
BROTLI_MODE_TEXT = 1
BROTLI_MODE_FONT = 2
BROTLI_FORCE_LSB_PRIOR = 3
BROTLI_FORCE_MSB_PRIOR = 4
BROTLI_FORCE_UTF8_PRIOR = 5
BROTLI_FORCE_SIGNED_PRIOR = 6
Trait Implementations§
source§impl Clone for BrotliEncoderMode
impl Clone for BrotliEncoderMode
source§fn clone(&self) -> BrotliEncoderMode
fn clone(&self) -> BrotliEncoderMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BrotliEncoderMode
impl Debug for BrotliEncoderMode
source§impl PartialEq for BrotliEncoderMode
impl PartialEq for BrotliEncoderMode
source§fn eq(&self, other: &BrotliEncoderMode) -> bool
fn eq(&self, other: &BrotliEncoderMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BrotliEncoderMode
impl Eq for BrotliEncoderMode
impl StructuralPartialEq for BrotliEncoderMode
Auto Trait Implementations§
impl Freeze for BrotliEncoderMode
impl RefUnwindSafe for BrotliEncoderMode
impl Send for BrotliEncoderMode
impl Sync for BrotliEncoderMode
impl Unpin for BrotliEncoderMode
impl UnwindSafe for BrotliEncoderMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more