Struct huffman::Tree
[−]
[src]
pub struct Tree { pub left: Option<Box<Tree>>, pub right: Option<Box<Tree>>, pub value: Option<u8>, }
A huffman tree.
Fields
left | |
right | |
value |
pub struct Tree { pub left: Option<Box<Tree>>, pub right: Option<Box<Tree>>, pub value: Option<u8>, }
A huffman tree.
left | |
right | |
value |
impl Tree
fn new() -> Self
fn new_with_value(value: u8) -> Self
impl Default for Tree