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

Implementors

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