Trait petgraph::visit::VisitMap [−] [src]

pub trait VisitMap<N> {
    fn visit(&mut self, N) -> bool;
    fn is_visited(&self, &N) -> bool;
}

Required Methods

fn visit(&mut self, N) -> bool

Return true if the value is not already present.

fn is_visited(&self, &N) -> bool

Implementors