Skip to main content

from_patterns

Function from_patterns 

Source
pub fn from_patterns<Extra, V>(
    classifier: &GraphClassifier<Extra, V>,
    patterns: impl IntoIterator<Item = Pattern<V>>,
) -> PatternGraph<Extra, V>
where V: GraphValue<Id = Symbol> + HasIdentity<V, Symbol> + Mergeable + Refinable + PartialEq + Clone + 'static, Extra: 'static,
Expand description

Builds a graph from an iterable of patterns using LastWriteWins.