pub struct DeflateLZIR(/* private fields */);
Expand description
Intermediate representation of deflate data
format:
- bit 0-8: literal and length
- bit 9-13: distance
- bit 14-18: length extra bits
- bit 19-31: distance extra bits
Implementations§
Source§impl DeflateLZIR
impl DeflateLZIR
pub const END_OF_BLOCK: Self
pub fn from_lzss(lzss: LZSS) -> Self
pub const fn with_literal(value: u8) -> Self
pub fn with_match(matches: Match) -> Self
pub const fn literal_value(&self) -> u32
pub const fn distance_value(&self) -> u32
pub const fn length_extra_bits_raw(&self) -> u32
pub const fn distance_extra_bits_raw(&self) -> u32
pub fn length_extra_bit_size(&self) -> Option<BitSize>
pub fn length_extra_bits(&self) -> Option<VarLenInteger>
pub fn distance_extra_bit_size(&self) -> Option<BitSize>
pub fn distance_extra_bits(&self) -> Option<VarLenInteger>
Trait Implementations§
Source§impl Clone for DeflateLZIR
impl Clone for DeflateLZIR
Source§fn clone(&self) -> DeflateLZIR
fn clone(&self) -> DeflateLZIR
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 DeflateLZIR
impl Debug for DeflateLZIR
Source§impl PartialEq for DeflateLZIR
impl PartialEq for DeflateLZIR
impl Copy for DeflateLZIR
impl Eq for DeflateLZIR
impl StructuralPartialEq for DeflateLZIR
Auto Trait Implementations§
impl Freeze for DeflateLZIR
impl RefUnwindSafe for DeflateLZIR
impl Send for DeflateLZIR
impl Sync for DeflateLZIR
impl Unpin for DeflateLZIR
impl UnwindSafe for DeflateLZIR
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