[−][src]Function sharpen::tree_collapse::collapse_tree
pub fn collapse_tree<T, InIter>(
input: InIter,
order: CollapseTreeOrd
) -> CollapsedTree<T> where
T: Node,
InIter: Iterator<Item = T>,
Collapse a tree into a flat structure and a mapping.
This is the opposite function of rollup_tree
.