[−][src]Struct classific::ComparingRefWith
See comparing_ref_with
.
Trait Implementations
impl<S: Clone + ?Sized, T: Clone + ?Sized + Ord, F: Clone + Fn(&S) -> &T, C: Clone + Comparator<T>> Clone for ComparingRefWith<S, T, F, C>
[src]
fn clone(&self) -> ComparingRefWith<S, T, F, C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S, T: ?Sized, F, C> Comparator<S> for ComparingRefWith<S, T, F, C> where
S: ?Sized,
T: Ord,
F: Fn(&S) -> &T,
C: Comparator<T>,
[src]
S: ?Sized,
T: Ord,
F: Fn(&S) -> &T,
C: Comparator<T>,
fn cmp(&self, left: &S, right: &S) -> 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<S: Copy + ?Sized, T: Copy + ?Sized + Ord, F: Copy + Fn(&S) -> &T, C: Copy + Comparator<T>> Copy for ComparingRefWith<S, T, F, C>
[src]
impl<S: Debug + ?Sized, T: Debug + ?Sized + Ord, F: Debug + Fn(&S) -> &T, C: Debug + Comparator<T>> Debug for ComparingRefWith<S, T, F, C>
[src]
Auto Trait Implementations
impl<S: ?Sized, T: ?Sized, F, C> RefUnwindSafe for ComparingRefWith<S, T, F, C> where
C: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
C: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T, F, C> !Send for ComparingRefWith<S, T, F, C>
impl<S, T, F, C> !Sync for ComparingRefWith<S, T, F, C>
impl<S: ?Sized, T: ?Sized, F, C> Unpin for ComparingRefWith<S, T, F, C> where
C: Unpin,
F: Unpin,
C: Unpin,
F: Unpin,
impl<S: ?Sized, T: ?Sized, F, C> UnwindSafe for ComparingRefWith<S, T, F, C> where
C: UnwindSafe,
F: UnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
C: UnwindSafe,
F: UnwindSafe,
S: RefUnwindSafe,
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>,