pub struct HuffmanTable {
pub depths: Vec<u8>,
pub codes: Vec<u16>,
}Expand description
Result of building a Huffman table.
Fields§
§depths: Vec<u8>Code depth (bit length) for each symbol.
codes: Vec<u16>Bit code for each symbol.
Auto Trait Implementations§
impl Freeze for HuffmanTable
impl RefUnwindSafe for HuffmanTable
impl Send for HuffmanTable
impl Sync for HuffmanTable
impl Unpin for HuffmanTable
impl UnwindSafe for HuffmanTable
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