HasDiff

Trait HasDiff 

Source
pub trait HasDiff {
    // Provided methods
    fn is_same(lhs: &Self, rhs: &Self) -> bool { ... }
    fn is_diff(lhs: &Self, rhs: &Self) -> bool { ... }
}

Provided Methods§

Source

fn is_same(lhs: &Self, rhs: &Self) -> bool

Source

fn is_diff(lhs: &Self, rhs: &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.

Implementors§

Source§

impl<T> HasDiff for DiffArc<T>

Source§

impl<T> HasDiff for DiffItem<T>

Source§

impl<T: Eq> HasDiff for T

Source§

impl<T: HasDiff> HasDiff for DiffOption<T>