Trait petgraph::visit::FilterEdge
source · pub trait FilterEdge<Edge> {
// Required method
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