[][src]Trait petgraph::visit::FilterEdge

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

Return true to have the edge be part of the graph

Loading content...

Implementors

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

Loading content...