Skip to main content

OrderExt

Trait OrderExt 

Source
pub trait OrderExt<T>: Sized + Expression
where T: Orderable,
{ // Provided methods fn lt<E>(self, other: E) -> Binary<Lt, Self, E> where E: LowerCompatible<T> { ... } fn lte<E>(self, other: E) -> Binary<Lte, Self, E> where E: LowerCompatible<T> { ... } fn gt<E>(self, other: E) -> Binary<Gt, Self, E> where E: LowerCompatible<T> { ... } fn gte<E>(self, other: E) -> Binary<Gte, Self, E> where E: LowerCompatible<T> { ... } }
Expand description

Ordering predicates for comparable expressions.

Provided Methods§

Source

fn lt<E>(self, other: E) -> Binary<Lt, Self, E>
where E: LowerCompatible<T>,

Source

fn lte<E>(self, other: E) -> Binary<Lte, Self, E>
where E: LowerCompatible<T>,

Source

fn gt<E>(self, other: E) -> Binary<Gt, Self, E>
where E: LowerCompatible<T>,

Source

fn gte<E>(self, other: E) -> Binary<Gte, Self, E>
where E: LowerCompatible<T>,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T, V> OrderExt<T> for V
where T: Orderable, V: Expression<Type = T>,