pub struct LzmaOptions(/* private fields */);
Available on crate feature
compress
only.Expand description
Options for LZMA compression.
Implementations§
Source§impl LzmaOptions
impl LzmaOptions
Sourcepub fn from_level(level: u32) -> Self
pub fn from_level(level: u32) -> Self
Creates LZMA options with the specified compression level.
§Arguments
level
- Compression level (0-9, clamped to this range)
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
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