Trait petgraph::isomorphism::SemanticMatcher

source ·
trait SemanticMatcher<T> {
    // Required methods
    fn enabled() -> bool;
    fn eq(&mut self, _: &T, _: &T) -> bool;
}

Required Methods§

source

fn enabled() -> bool

source

fn eq(&mut self, _: &T, _: &T) -> bool

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> SemanticMatcher<T> for NoSemanticMatch

source§

impl<T, F> SemanticMatcher<T> for F
where F: FnMut(&T, &T) -> bool,