pub trait EqUtils<T: PartialEq> { // Required methods fn eq_to(&self, other: &T) -> bool; fn not_eq_to(&self, other: &T) -> bool; }
Provides sugar methods for comparing values.
Returns true if self == other.
self == other
Returns true if self != other.
self != other