dfs_preorder_iter2

Function dfs_preorder_iter2 

Source
pub fn dfs_preorder_iter2<C: Visitor>(
    a: C,
) -> impl Iterator<Item = C::Item> + FusedIterator
Expand description

A version of iterating in dfs preorder implemented using iter::from_fn TODO implement all the iterators with this.