struct Rle {
pub z_count: u32,
pub repeat_count: u16,
pub prev_code_size: u8,
}Expand description
Status of RLE encoding of huffman code lengths.
Fields§
§z_count: u32§repeat_count: u16§prev_code_size: u8Implementations§
Source§impl Rle
impl Rle
fn prev_code_size( &mut self, packed_code_sizes: &mut [u8], packed_pos: &mut usize, h: &mut HuffmanOxide, ) -> Result<(), Error>
fn zero_code_size( &mut self, packed_code_sizes: &mut [u8], packed_pos: &mut usize, h: &mut HuffmanOxide, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Rle
impl RefUnwindSafe for Rle
impl Send for Rle
impl Sync for Rle
impl Unpin for Rle
impl UnsafeUnpin for Rle
impl UnwindSafe for Rle
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