Trait core::cmp::Eq [] [src]

pub trait Eq: PartialEq<Self> { }

Trait for equality comparisons which are equivalence relations.

This means, that in addition to a == b`a == band` and a != b`a != bbeing strict inverses, the equality must be (for all` being strict inverses, the equality must be (for all a`a,`, b`band` and c`c`):

This property cannot be checked by the compiler, and therefore Eq`Eqimplies` implies PartialEq`PartialEq`, and has no extra methods.

Implementors