Ord

Trait Ord 

Source
pub trait Ord: PartialOrd {
    // Required method
    fn dyn_cmp(&self, other: &dyn Any) -> Ordering;
}
Expand description

Dynamic (object-safe) version of Ord.

Required Methods§

Source

fn dyn_cmp(&self, other: &dyn Any) -> Ordering

Implementors§

Source§

impl<T: Dyn + Ord> Ord for T