pub trait EqObj: PartialEqObj {
// Required methods
fn as_eq_object(&self) -> &dyn EqObj;
fn to_eq_object(self) -> Box<dyn EqObj>;
}
Expand description
Object-safe version of Eq
pub trait EqObj: PartialEqObj {
// Required methods
fn as_eq_object(&self) -> &dyn EqObj;
fn to_eq_object(self) -> Box<dyn EqObj>;
}
Object-safe version of Eq