Trait petgraph::visit::VisitMap
[−]
[src]
pub trait VisitMap<N> { fn visit(&mut self, _: N) -> bool; fn is_visited(&self, _: &N) -> bool; }
A mapping for storing the visited status for NodeId
N
.
Required Methods
fn visit(&mut self, _: N) -> bool
Return true if the value is not already present.
fn is_visited(&self, _: &N) -> bool
Implementors
impl<Ix> VisitMap<NodeIndex<Ix>> for FixedBitSet where
Ix: IndexType,impl<Ix> VisitMap<EdgeIndex<Ix>> for FixedBitSet where
Ix: IndexType,impl<N: Eq + Hash> VisitMap<N> for HashSet<N>