Trait petgraph::visit::FilterEdge [−][src]
pub trait FilterEdge<Edge> {
fn include_edge(&self, edge: Edge) -> bool;
}Expand description
A graph filter for edges
Required methods
fn include_edge(&self, edge: Edge) -> bool[src]
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]
impl<F, N> FilterEdge<N> for F where
F: Fn(N) -> bool, [src]