pub trait DynEq: Any {
// Required methods
fn as_any(&self) -> &dyn Any;
fn dyn_eq(&self, other: &dyn DynEq) -> bool;
}
Expand description
An object safe version of Eq
. This trait is automatically implemented
for any 'static
type that implements Eq
.