pub struct BrotliEncoderParams {
Show 21 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,
}

Fields

dist: BrotliDistanceParamsmode: BrotliEncoderModequality: i32q9_5: boollgwin: i32lgblock: i32size_hint: usizedisable_literal_context_modeling: i32hasher: BrotliHasherParamslog_meta_block: boolstride_detection_quality: u8high_entropy_detection_quality: u8cdf_adaptation_detection: u8prior_bitmask_detection: u8literal_adaptation: [(u16, u16); 4]large_window: boolavoid_distance_prefix_search: boolcatable: booluse_dictionary: boolappendable: boolmagic_number: bool

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.