pub struct BrotliEncoderParams {
Show 22 fields pub dist: BrotliDistanceParams, pub mode: BrotliEncoderMode, pub quality: i32, pub q9_5: bool, pub lgwin: i32, pub lgblock: i32, pub size_hint: usize, pub disable_literal_context_modeling: i32, pub hasher: BrotliHasherParams, pub log_meta_block: bool, pub stride_detection_quality: u8, pub high_entropy_detection_quality: u8, pub cdf_adaptation_detection: u8, pub prior_bitmask_detection: u8, pub literal_adaptation: [(u16, u16); 4], pub large_window: bool, pub avoid_distance_prefix_search: bool, pub catable: bool, pub use_dictionary: bool, pub appendable: bool, pub magic_number: bool, pub favor_cpu_efficiency: bool,
}

Fields§

§dist: BrotliDistanceParams§mode: BrotliEncoderMode§quality: i32§q9_5: bool§lgwin: i32§lgblock: i32§size_hint: usize§disable_literal_context_modeling: i32§hasher: BrotliHasherParams§log_meta_block: bool§stride_detection_quality: u8§high_entropy_detection_quality: u8§cdf_adaptation_detection: u8§prior_bitmask_detection: u8§literal_adaptation: [(u16, u16); 4]§large_window: bool§avoid_distance_prefix_search: bool§catable: bool§use_dictionary: bool§appendable: bool§magic_number: bool§favor_cpu_efficiency: bool

Trait Implementations§

source§

impl Clone for BrotliEncoderParams

source§

fn clone(&self) -> BrotliEncoderParams

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BrotliEncoderParams

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BrotliEncoderParams

source§

fn default() -> BrotliEncoderParams

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.