[−][src]Struct classific::ReversedOrder
See Comparator::reversed
.
Trait Implementations
impl<T: Clone + ?Sized, C: Clone + Comparator<T>> Clone for ReversedOrder<T, C>
[src]
fn clone(&self) -> ReversedOrder<T, C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, C> Comparator<T> for ReversedOrder<T, C> where
T: ?Sized,
C: Comparator<T>,
[src]
T: ?Sized,
C: Comparator<T>,
fn cmp(&self, left: &T, right: &T) -> Ordering
[src]
fn reversed(self) -> ReversedOrder<T, Self> where
Self: Sized,
[src]
Self: Sized,
fn then<N>(self, next: N) -> CompareThen<T, Self, N> where
Self: Sized,
N: Comparator<T>,
[src]
Self: Sized,
N: Comparator<T>,
fn max<'a>(&self, left: &'a T, right: &'a T) -> &'a T
[src]
fn min<'a>(&self, left: &'a T, right: &'a T) -> &'a T
[src]
impl<T: Copy + ?Sized, C: Copy + Comparator<T>> Copy for ReversedOrder<T, C>
[src]
impl<T: Debug + ?Sized, C: Debug + Comparator<T>> Debug for ReversedOrder<T, C>
[src]
Auto Trait Implementations
impl<T: ?Sized, C> RefUnwindSafe for ReversedOrder<T, C> where
C: RefUnwindSafe,
T: RefUnwindSafe,
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C> !Send for ReversedOrder<T, C>
impl<T, C> !Sync for ReversedOrder<T, C>
impl<T: ?Sized, C> Unpin for ReversedOrder<T, C> where
C: Unpin,
C: Unpin,
impl<T: ?Sized, C> UnwindSafe for ReversedOrder<T, C> where
C: UnwindSafe,
T: RefUnwindSafe,
C: UnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, F> Comparator<T> for F where
F: Fn(&T, &T) -> Ordering,
T: ?Sized,
[src]
F: Fn(&T, &T) -> Ordering,
T: ?Sized,
fn cmp(&Self, &T, &T) -> Ordering
[src]
fn reversed(self) -> ReversedOrder<T, Self> where
Self: Sized,
[src]
Self: Sized,
fn then<N>(self, next: N) -> CompareThen<T, Self, N> where
Self: Sized,
N: Comparator<T>,
[src]
Self: Sized,
N: Comparator<T>,
fn max<'a>(&self, left: &'a T, right: &'a T) -> &'a T
[src]
fn min<'a>(&self, left: &'a T, right: &'a T) -> &'a T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,