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: 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
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 moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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