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