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
fn include_node(&self, node: N) -> bool
Return true to have the node be part of the graph
Implementations on Foreign Types
This filter includes the nodes that are contained in the set.
This filter includes the nodes that are contained in the set.