pub struct LzmaOptions { /* private fields */ }
Available on crate feature
lzma
only.Expand description
A builder for liblzma::LzmaOptions, so that it can be cloned
Implementations§
Source§impl LzmaOptions
impl LzmaOptions
pub fn preset(self, value: u32) -> Self
pub fn depth(self, value: u32) -> Self
pub fn dict_size(self, value: u32) -> Self
pub fn literal_context_bits(self, value: u32) -> Self
pub fn literal_position_bits(self, value: u32) -> Self
pub fn match_finder(self, value: MatchFinder) -> Self
pub fn mode(self, value: Mode) -> Self
pub fn nice_len(self, value: u32) -> Self
pub fn position_bits(self, value: u32) -> Self
Trait Implementations§
Source§impl Clone for LzmaOptions
impl Clone for LzmaOptions
Source§fn clone(&self) -> LzmaOptions
fn clone(&self) -> LzmaOptions
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 LzmaOptions
impl Debug for LzmaOptions
Source§impl Default for LzmaOptions
impl Default for LzmaOptions
Source§fn default() -> LzmaOptions
fn default() -> LzmaOptions
Returns the “default value” for a type. Read more
Source§impl TryFrom<&LzmaOptions> for LzmaOptions
impl TryFrom<&LzmaOptions> for LzmaOptions
Auto Trait Implementations§
impl Freeze for LzmaOptions
impl RefUnwindSafe for LzmaOptions
impl Send for LzmaOptions
impl Sync for LzmaOptions
impl Unpin for LzmaOptions
impl UnwindSafe for LzmaOptions
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