Trait std::cmp::TotalEq

pub trait TotalEq {
    fn equals(&self, other: &Self) -> bool;
}

Trait for equality comparisons where a == b and a != b are strict inverses.

Required Methods

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

Implementors