Skip to main content

from_test_node

Function from_test_node 

Source
pub fn from_test_node<V, F>(test_node: F) -> GraphClassifier<(), V>
where F: Fn(&Pattern<V>) -> bool + 'static,
Expand description

Wraps a node predicate into a two-category classifier (GNode vs GOther(())).