NodeEquality

Trait NodeEquality 

Source
pub trait NodeEquality {
    // Required method
    fn is_same(&self, other: &Self) -> bool;
}
Expand description

Defines the equality trait.

Required Methods§

Source

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

Whether this node is the same as another.

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§