Trait petgraph::visit::FilterNode
[−]
[src]
pub trait FilterNode<N> { fn include_node(&self, node: N) -> bool; }
A graph filter for nodes.
Required Methods
fn include_node(&self, node: N) -> bool
Return true to have the node be part of the graph
Implementors
impl<F, N> FilterNode<N> for F where F: Fn(N) -> bool
impl<N> FilterNode<N> for FixedBitSet where FixedBitSet: VisitMap<N>
impl<N, S> FilterNode<N> for HashSet<N, S> where HashSet<N, S>: VisitMap<N>