Trait rel::ord::PartialOrderRelation [] [src]

pub trait PartialOrderRelation<A: ?Sized>: PartialEquivalenceRelation<A> {
    fn partial_cmp(&self, _: &A, _: &A) -> Option<Ordering>;

    fn less(&self, x: &A, y: &A) -> bool { ... }
    fn less_or_equal(&self, x: &A, y: &A) -> bool { ... }
}

Required Methods

Provided Methods

Implementors