Trait petgraph::visit::Visitable[][src]

pub trait Visitable: GraphBase {
    type Map: VisitMap<Self::NodeId>;
    fn visit_map(&self) -> Self::Map;
fn reset_map(&self, map: &mut Self::Map); }

A graph that can create a map that tracks the visited status of its nodes.

Associated Types

The associated map type

Required Methods

Create a new visitor map

Reset the visitor map (and resize to new size of graph if needed)

Implementations on Foreign Types

impl<'a, G> Visitable for &'a G where
    G: Visitable
[src]

Implementors