pub trait IteratorEx { type Item: Node; fn build_tree(self) -> Option<Self::Item>; }
Builds a binary tree from an iterator of Nodes
The root node of the built tree, if it was successfully built.
The trait extends the functionality of the standard Iterator trait by adding the build_tree method.
Iterator
build_tree