Struct brotli::enc::backward_references::BrotliEncoderParams
source · [−]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: 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: boolfavor_cpu_efficiency: boolTrait Implementations
sourceimpl Clone for BrotliEncoderParams
impl Clone for BrotliEncoderParams
sourcefn clone(&self) -> BrotliEncoderParams
fn clone(&self) -> BrotliEncoderParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BrotliEncoderParams
impl Debug for BrotliEncoderParams
sourceimpl Default for BrotliEncoderParams
impl Default for BrotliEncoderParams
sourcefn default() -> BrotliEncoderParams
fn default() -> BrotliEncoderParams
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BrotliEncoderParams
impl Send for BrotliEncoderParams
impl Sync for BrotliEncoderParams
impl Unpin for BrotliEncoderParams
impl UnwindSafe for BrotliEncoderParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more