pub struct WriteHuffmanTree<E: Endianness, T: Ord> {
    map: BTreeMap<T, Box<[(u32, u32)]>>,
    phantom: PhantomData<E>,
}Expand description
A compiled Huffman tree for use with the write_huffman method.
Returned by compiled_write_tree.
Fields§
§map: BTreeMap<T, Box<[(u32, u32)]>>§phantom: PhantomData<E>Implementations§
Source§impl<E: Endianness, T: Ord + Clone> WriteHuffmanTree<E, T>
 
impl<E: Endianness, T: Ord + Clone> WriteHuffmanTree<E, T>
Auto Trait Implementations§
impl<E, T> Freeze for WriteHuffmanTree<E, T>
impl<E, T> RefUnwindSafe for WriteHuffmanTree<E, T>where
    E: RefUnwindSafe,
    T: RefUnwindSafe,
impl<E, T> Send for WriteHuffmanTree<E, T>
impl<E, T> Sync for WriteHuffmanTree<E, T>
impl<E, T> Unpin for WriteHuffmanTree<E, T>where
    E: Unpin,
impl<E, T> UnwindSafe for WriteHuffmanTree<E, T>where
    T: RefUnwindSafe,
    E: UnwindSafe,
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