Skip to main content

CombEq

Trait CombEq 

Source
pub trait CombEq {
    // Required methods
    fn hash(&self) -> Vec<usize>;
    fn is_isomorphic(&self, other: &Self) -> bool;
}

Required Methods§

Source

fn hash(&self) -> Vec<usize>

Source

fn is_isomorphic(&self, other: &Self) -> 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.

Implementations on Foreign Types§

Source§

impl<E: EdgeMatch, Ix: IndexType> CombEq for UnGraph<(), E, Ix>

Available on crate feature petgraph only.
Source§

fn is_isomorphic(&self, other: &Self) -> bool

Neither graph must contains multiple edges.

Source§

fn hash(&self) -> Vec<usize>

Source§

impl<Ix: IndexType> CombEq for UnGraph<(), (), Ix>

Available on crate feature petgraph only.
Source§

fn is_isomorphic(&self, other: &Self) -> bool

Neither graph must contains multiple edges.

Source§

fn hash(&self) -> Vec<usize>

Source§

impl<N: NodeMatch, E: EdgeMatch, Ix: IndexType> CombEq for UnGraph<N, E, Ix>

Available on crate feature petgraph only.
Source§

fn is_isomorphic(&self, other: &Self) -> bool

Neither graph must contains multiple edges.

Source§

fn hash(&self) -> Vec<usize>

Source§

impl<N: NodeMatch, Ix: IndexType> CombEq for UnGraph<N, (), Ix>

Available on crate feature petgraph only.
Source§

fn is_isomorphic(&self, other: &Self) -> bool

Neither graph must contains multiple edges.

Source§

fn hash(&self) -> Vec<usize>

Implementors§