Function compt::dfs_preorder_iter2[][src]

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.