pub trait PartialEq<Rhs: ?Sized = Self> {
    fn op_eq(&self, other: &Rhs) -> bool;

    fn op_ne(&self, other: &Rhs) -> bool { ... }
}

Required Methods

This method tests for self and other values to be equal, and is used by ==.

Provided Methods

This method tests for !=.

Implementations on Foreign Types

Implementors