pub trait DynEq: Any { // Required method fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool; }
An object safe version of Eq. This trait is automatically implemented for any 'static type that implements Eq.
Eq
'static
This method tests for self and other values to be equal.
self
other
Implementers should avoid returning true when the underlying types are not the same.
true