[][src]Function adapton::catalog::collections::list_of_tree

pub fn list_of_tree<Lev: Level, X: 'static + Hash + Clone, L: ListIntro<X> + 'static, T: TreeElim<Lev, X> + 'static>(
    tree: T,
    dir: Dir2
) -> L

List the leaf elements and names of a tree, in the given order, via a sequential, in-order traversal. Direction Dir2::Left lists elements from left to right. (Leftmost elements are in the head of the list). Direction Dir2::Right lists elements from right to left. (Rightmost elements are in the head of the list). Preserves the order of elements, up to dir, and the names in the tree.