pub trait OrderExt<T>: Sized + Expressionwhere
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§
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>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".