Skip to main content

EdgeMatcher

Trait EdgeMatcher 

Source
pub trait EdgeMatcher<G0: GraphBase, G1: GraphBase> {
    // Required methods
    fn enabled() -> bool;
    fn eq(
        &mut self,
        _g0: &G0,
        _g1: &G1,
        e0: (G0::NodeId, G0::NodeId),
        e1: (G1::NodeId, G1::NodeId),
    ) -> bool;
}

Required Methods§

Source

fn enabled() -> bool

Source

fn eq( &mut self, _g0: &G0, _g1: &G1, e0: (G0::NodeId, G0::NodeId), e1: (G1::NodeId, G1::NodeId), ) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<G0, G1, F> EdgeMatcher<G0, G1> for F

Source§

impl<G0: GraphBase, G1: GraphBase> EdgeMatcher<G0, G1> for NoSemanticMatch