pub struct LzmaParams { /* private fields */ }
Expand description
LZMA decompression parameters.
Implementations§
Source§impl LzmaParams
impl LzmaParams
Sourcepub fn new(
properties: LzmaProperties,
dict_size: u32,
unpacked_size: Option<u64>,
) -> LzmaParams
pub fn new( properties: LzmaProperties, dict_size: u32, unpacked_size: Option<u64>, ) -> LzmaParams
Create an new instance of LZMA parameters.
Sourcepub fn read_header<R>(input: &mut R, options: &Options) -> Result<LzmaParams>where
R: BufRead,
pub fn read_header<R>(input: &mut R, options: &Options) -> Result<LzmaParams>where
R: BufRead,
Read LZMA parameters from the LZMA stream header.
Trait Implementations§
Source§impl Clone for LzmaParams
impl Clone for LzmaParams
Source§fn clone(&self) -> LzmaParams
fn clone(&self) -> LzmaParams
Returns a copy 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 LzmaParams
impl Debug for LzmaParams
impl Copy for LzmaParams
Auto Trait Implementations§
impl Freeze for LzmaParams
impl RefUnwindSafe for LzmaParams
impl Send for LzmaParams
impl Sync for LzmaParams
impl Unpin for LzmaParams
impl UnwindSafe for LzmaParams
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