Trait timely::order::PartialOrder[][src]

pub trait PartialOrder: Eq {
    fn less_equal(&self, other: &Self) -> bool;

    fn less_than(&self, other: &Self) -> bool { ... }
}

A type that is partially ordered.

This trait is distinct from Rust’s PartialOrd trait, because the implementation of that trait precludes a distinct Ord implementation. We need an independent trait if we want to have a partially ordered type that can also be sorted.

Required methods

fn less_equal(&self, other: &Self) -> bool[src]

Returns true iff one element is less than or equal to the other.

Loading content...

Provided methods

fn less_than(&self, other: &Self) -> bool[src]

Returns true iff one element is strictly less than the other.

Loading content...

Implementations on Foreign Types

impl PartialOrder for u8[src]

impl PartialOrder for u16[src]

impl PartialOrder for u32[src]

impl PartialOrder for u64[src]

impl PartialOrder for u128[src]

impl PartialOrder for usize[src]

impl PartialOrder for i8[src]

impl PartialOrder for i16[src]

impl PartialOrder for i32[src]

impl PartialOrder for i64[src]

impl PartialOrder for i128[src]

impl PartialOrder for isize[src]

impl PartialOrder for ()[src]

impl PartialOrder for Duration[src]

Loading content...

Implementors

impl<'a, T: PartialOrder> PartialOrder for AntichainRef<'a, T>[src]

impl<T: PartialOrder> PartialOrder for Antichain<T>[src]

impl<T: Timestamp> PartialOrder for Capability<T>[src]

impl<TOuter: PartialOrder, TInner: PartialOrder> PartialOrder for Product<TOuter, TInner>[src]

Loading content...