PartialEq

This trait allows for partial equality, for types that do not have a full equivalence relation. For example, in floating point numbers NaN != NaN,so floating point types implement PartialEq but not [trait@Eq].Formally speaking, when Rhs == Self, this trait corresponds to a partial equivalence relation.