pub struct LzmaProperties {
pub lc: u32,
pub lp: u32,
pub pb: u32,
}
Available on
raw_decoder
only.Expand description
LZMA ‘lclppb’ decompression properties.
Fields§
§lc: u32
The number of literal context bits.
The most lc
significant bits of the previous byte are part of the literal context.
lc
must not be greater than 8.
lp: u32
The number of literal position bits.
lp
must not be greater than 4.
pb: u32
The number of position bits.
The context for literal/match is plaintext offset modulo 2^pb
.
pb
must not be greater than 4.
Trait Implementations§
Source§impl Clone for LzmaProperties
impl Clone for LzmaProperties
Source§fn clone(&self) -> LzmaProperties
fn clone(&self) -> LzmaProperties
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 LzmaProperties
impl Debug for LzmaProperties
impl Copy for LzmaProperties
Auto Trait Implementations§
impl Freeze for LzmaProperties
impl RefUnwindSafe for LzmaProperties
impl Send for LzmaProperties
impl Sync for LzmaProperties
impl Unpin for LzmaProperties
impl UnwindSafe for LzmaProperties
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