Enum off_blockway::tree::Tree
[−]
[src]
pub enum Tree<T> { Empty { hash: String, }, Leaf { hash: String, value: T, }, Node { hash: String, left: Box<Tree<T>>, right: Box<Tree<T>>, }, }
Variants
Empty
Fields of Empty
hash: String |
Leaf
Fields of Leaf
hash: String | |
value: T |
Node
Fields of Node
hash: String | |
left: Box<Tree<T>> | |
right: Box<Tree<T>> |