pub trait FilterNode<N> {
// Required method
fn include_node(&self, node: N) -> bool;
}
Expand description
A graph filter for nodes.
Required Methods§
Sourcefn include_node(&self, node: N) -> bool
fn include_node(&self, node: N) -> bool
Return true to have the node be part of the graph
Implementations on Foreign Types§
Source§impl<N> FilterNode<N> for &FixedBitSetwhere
FixedBitSet: VisitMap<N>,
impl<N> FilterNode<N> for &FixedBitSetwhere
FixedBitSet: VisitMap<N>,
fn include_node(&self, n: N) -> bool
Source§impl<N> FilterNode<N> for FixedBitSetwhere
FixedBitSet: VisitMap<N>,
impl<N> FilterNode<N> for FixedBitSetwhere
FixedBitSet: VisitMap<N>,
This filter includes the nodes that are contained in the set.
fn include_node(&self, n: N) -> bool
Source§impl<N, S> FilterNode<N> for &HashSet<N, S>
impl<N, S> FilterNode<N> for &HashSet<N, S>
fn include_node(&self, n: N) -> bool
Source§impl<N, S> FilterNode<N> for HashSet<N, S>
impl<N, S> FilterNode<N> for HashSet<N, S>
This filter includes the nodes that are contained in the set.