pub fn dfs_preorder_iter2<C: Visitor>(
a: C,
) -> impl Iterator<Item = C::Item> + FusedIteratorExpand description
A version of iterating in dfs preorder implemented using iter::from_fn TODO implement all the iterators with this.
pub fn dfs_preorder_iter2<C: Visitor>(
a: C,
) -> impl Iterator<Item = C::Item> + FusedIteratorA version of iterating in dfs preorder implemented using iter::from_fn TODO implement all the iterators with this.