Struct daggy::petgraph::visit::BfsIter []

pub struct BfsIter<'a, G> where G: 'a + Visitable {
    // some fields omitted
}

An iterator for a breadth first traversal of a graph.

Methods

impl<'a, G> BfsIter<'a, G> where G: Visitable, G::NodeId: Clone

fn new(graph: &'a G, start: G::NodeId) -> BfsIter<'a, G>

Trait Implementations

impl<'a, G> Iterator for BfsIter<'a, G> where G: 'a + Visitable + NeighborIter<'a>, G::NodeId: Clone

type Item = G::NodeId

fn next(&mut self) -> Option<G::NodeId>

fn size_hint(&self) -> (usize, Option<usize>)

impl<'a, G> Clone for BfsIter<'a, G> where G: Visitable, Bfs<G::NodeId, G::Map>: Clone

fn clone(&self) -> BfsIter<'a, G>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more