[][src]Struct classific::ComparingRefWith

pub struct ComparingRefWith<S: ?Sized, T: ?Sized + Ord, F: Fn(&S) -> &T, C: Comparator<T>>(_, _, _, _);

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]

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]

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

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

impl<S: ?Sized, T: ?Sized, F, C> UnwindSafe for ComparingRefWith<S, T, F, C> where
    C: UnwindSafe,
    F: UnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, F> Comparator<T> for F where
    F: Fn(&T, &T) -> Ordering,
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.