Struct bitstream_io::huffman::WriteHuffmanTree[][src]

pub struct WriteHuffmanTree<E: Endianness, T: Ord> { /* fields omitted */ }

A compiled Huffman tree for use with the write_huffman method. Returned by compiled_write_tree.

Methods

impl<E: Endianness, T: Ord + Clone> WriteHuffmanTree<E, T>
[src]

Returns true if symbol is in tree.

Given symbol, returns (bits, value) pairs for writing code. Panics if symbol is not found.

Auto Trait Implementations

impl<E, T> Send for WriteHuffmanTree<E, T> where
    E: Send,
    T: Send

impl<E, T> Sync for WriteHuffmanTree<E, T> where
    E: Sync,
    T: Sync