Struct comparator::combinators::ReverseOrder
source · [−]pub struct ReverseOrder { /* private fields */ }
Expand description
Reverse ordering comparator.
Trait Implementations
fn then_comparing<U>(self, other: U) -> ThenComparing<Self, U> where
Self: Sized,
U: Comparator<T>,
fn then_comparing<U>(self, other: U) -> ThenComparing<Self, U> where
Self: Sized,
U: Comparator<T>,
Chains two comparators. Read more
fn then_comparing_by_key<F, U>(self, f: F) -> ThenComparingByKey<Self, F> where
Self: Sized,
F: Fn(&T) -> U,
U: Ord,
fn then_comparing_by_key<F, U>(self, f: F) -> ThenComparingByKey<Self, F> where
Self: Sized,
F: Fn(&T) -> U,
U: Ord,
Chains a comparator with a key function. Read more
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReverseOrder
impl Send for ReverseOrder
impl Sync for ReverseOrder
impl Unpin for ReverseOrder
impl UnwindSafe for ReverseOrder
Blanket Implementations
Mutably borrows from an owned value. Read more