[][src]Trait timely::order::TotalOrder

pub trait TotalOrder: PartialOrder { }

A type that is totally ordered.

This trait is a "carrier trait", in the sense that it adds no additional functionality over PartialOrder, but instead indicates that the less_than and less_equal methods are total, meaning that x.less_than(&y) is equivalent to !y.less_equal(&x).

This trait is distinct from Rust's Ord trait, because several implementors of PartialOrd also implement Ord for efficient canonicalization, deduplication, and other sanity-maintaining operations.

Implementations on Foreign Types

impl TotalOrder for u8[src]

impl TotalOrder for u16[src]

impl TotalOrder for u32[src]

impl TotalOrder for u64[src]

impl TotalOrder for usize[src]

impl TotalOrder for i8[src]

impl TotalOrder for i16[src]

impl TotalOrder for i32[src]

impl TotalOrder for i64[src]

impl TotalOrder for isize[src]

impl TotalOrder for ()[src]

impl TotalOrder for Duration[src]

Loading content...

Implementors

impl<T1, T2> TotalOrder for Product<T1, T2> where
    T1: Empty,
    T2: TotalOrder
[src]

Loading content...