Trait petgraph::visit::FilterEdge
source · [−]pub trait FilterEdge<Edge> {
fn include_edge(&self, edge: Edge) -> bool;
}
Expand description
A graph filter for edges
Required Methods
sourcefn include_edge(&self, edge: Edge) -> bool
fn include_edge(&self, edge: Edge) -> bool
Return true to have the edge be part of the graph