Trait petgraph::visit::FilterEdge[][src]

pub trait FilterEdge<Edge> {
    fn include_edge(&self, edge: Edge) -> bool;
}

A graph filter for edges

Required methods

fn include_edge(&self, edge: Edge) -> bool[src]

Return true to have the edge be part of the graph

Loading content...

Implementors

impl<F, N> FilterEdge<N> for F where
    F: Fn(N) -> bool
[src]

Loading content...