Skip to main content

Ordering

Trait Ordering 

Source
pub trait Ordering: OrderingT + Sealed {
    const VALUE: StdOrdering;
}
Expand description

The result of comparing two values.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Ordering for Equal

Source§

const VALUE: StdOrdering = StdOrdering::Equal

Source§

impl Ordering for Greater

Source§

const VALUE: StdOrdering = StdOrdering::Greater

Source§

impl Ordering for Less

Source§

const VALUE: StdOrdering = StdOrdering::Less