Trait query_interface::ObjectPartialOrd
[−]
[src]
pub trait ObjectPartialOrd { fn obj_partial_cmp(&self, other: &Object) -> Option<Ordering>; }
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.
Required Methods
fn obj_partial_cmp(&self, other: &Object) -> Option<Ordering>
Implementors
impl<T: PartialOrd + Object> ObjectPartialOrd for T