Struct binary_tree::test::TestNode
[−]
[src]
pub struct TestNode<T> {
pub val: T,
pub left: Option<Box<TestNode<T>>>,
pub right: Option<Box<TestNode<T>>>,
}A minimal Node implementation.
When should you use TestNode?
You should not use TestNode for anything, except may be to get to know what
a binary tree is!
Fields
val | |
left | |
right |