Trait petgraph::visit::FilterNode [−][src]
pub trait FilterNode<N> {
fn include_node(&self, node: N) -> bool;
}Expand description
A graph filter for nodes.
Required methods
fn include_node(&self, node: N) -> bool[src]
fn include_node(&self, node: N) -> bool[src]Return true to have the node be part of the graph
Implementations on Foreign Types
impl<N> FilterNode<N> for FixedBitSet where
FixedBitSet: VisitMap<N>, [src]
impl<N> FilterNode<N> for FixedBitSet where
FixedBitSet: VisitMap<N>, [src]This filter includes the nodes that are contained in the set.
fn include_node(&self, n: N) -> bool[src]
impl<N, S> FilterNode<N> for HashSet<N, S> where
HashSet<N, S>: VisitMap<N>, [src]
impl<N, S> FilterNode<N> for HashSet<N, S> where
HashSet<N, S>: VisitMap<N>, [src]This filter includes the nodes that are contained in the set.
fn include_node(&self, n: N) -> bool[src]
Implementors
impl<F, N> FilterNode<N> for F where
F: Fn(N) -> bool, [src]
impl<F, N> FilterNode<N> for F where
F: Fn(N) -> bool, [src]