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

A graph filter for edges

Required Methods§

source

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

Return true to have the edge be part of the graph

Implementors§

source§

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