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.