pub trait ObjectPartialOrd {
// Required method
fn obj_partial_cmp(&self, other: &dyn Object) -> Option<Ordering>;
}
Expand description
This is an object-safe version of PartialOrd
, which is automatically
implemented for all PartialOrd + Object
types. This is a support trait used to
allow Object
trait objects to be comparable in this way.