pub struct PracticalMaxConfig {
pub use_patterns: bool,
pub use_multi_pass: bool,
pub max_passes: usize,
pub ctw_depth: usize,
pub max_patterns: usize,
}Expand description
Configuration for practical maximum compression
Fields§
§use_patterns: boolEnable pattern replacement
use_multi_pass: boolEnable multi-pass compression
max_passes: usizeMaximum number of passes
ctw_depth: usizeCTW depth
max_patterns: usizePattern cache size limit
Trait Implementations§
Source§impl Clone for PracticalMaxConfig
impl Clone for PracticalMaxConfig
Source§fn clone(&self) -> PracticalMaxConfig
fn clone(&self) -> PracticalMaxConfig
Returns a duplicate 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 PracticalMaxConfig
impl Debug for PracticalMaxConfig
Auto Trait Implementations§
impl Freeze for PracticalMaxConfig
impl RefUnwindSafe for PracticalMaxConfig
impl Send for PracticalMaxConfig
impl Sync for PracticalMaxConfig
impl Unpin for PracticalMaxConfig
impl UnsafeUnpin for PracticalMaxConfig
impl UnwindSafe for PracticalMaxConfig
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