[−][src]Trait petgraph::visit::VisitMap
A mapping for storing the visited status for NodeId N
.
Required methods
fn visit(&mut self, a: N) -> bool
Mark a
as visited.
Return true if this is the first visit, false otherwise.
fn is_visited(&self, a: &N) -> bool
Return whether a
has been visited before.
Implementations on Foreign Types
impl<Ix> VisitMap<NodeIndex<Ix>> for FixedBitSet where
Ix: IndexType,
[src]
Ix: IndexType,
fn visit(&mut self, x: NodeIndex<Ix>) -> bool
[src]
fn is_visited(&self, x: &NodeIndex<Ix>) -> bool
[src]
impl<Ix> VisitMap<EdgeIndex<Ix>> for FixedBitSet where
Ix: IndexType,
[src]
Ix: IndexType,
fn visit(&mut self, x: EdgeIndex<Ix>) -> bool
[src]
fn is_visited(&self, x: &EdgeIndex<Ix>) -> bool
[src]
impl<Ix> VisitMap<Ix> for FixedBitSet where
Ix: IndexType,
[src]
Ix: IndexType,
impl<N, S> VisitMap<N> for HashSet<N, S> where
N: Hash + Eq,
S: BuildHasher,
[src]
Loading content...N: Hash + Eq,
S: BuildHasher,