pub fn value(&self) -> &V {
        match self {
            HuffmanTree::Node { value, .. } => value,
            HuffmanTree::Leaf { value, .. } => value,
        }
    }
/// The value of the HuffmanTree.
///
/// This is either the value associated to a byte (Leaf), or
/// the sum of children values (Node).
The value of the HuffmanTree.
This is either the value associated to a byte (Leaf), or
the sum of children values (Node).
The value of the HuffmanTree . This is either the value associated to a byte ( Leaf ) or the sum of children values ( Node ) .
pub fn value(&self) -> &V {
        match self {
            HuffmanTree::Node { value, .. } => value,
            HuffmanTree::Leaf { value, .. } => value,
        }
    }
pub fn value ( & self ) -> & V { match self { HuffmanTree :: Node { value , .. } => value , HuffmanTree :: Leaf { value , .. } => value , } }
The value of the HuffmanTree.
The value of the HuffmanTree .
&self
&self