[][src]Struct classific::Comparing

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

See comparing.

Trait Implementations

impl<S: Clone + ?Sized, T: Clone + ?Sized + Ord, F: Clone + Fn(&S) -> T> Clone for Comparing<S, T, F>[src]

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

impl<S: Copy + ?Sized, T: Copy + ?Sized + Ord, F: Copy + Fn(&S) -> T> Copy for Comparing<S, T, F>[src]

impl<S: Debug + ?Sized, T: Debug + ?Sized + Ord, F: Debug + Fn(&S) -> T> Debug for Comparing<S, T, F>[src]

Auto Trait Implementations

impl<S: ?Sized, T: ?Sized, F> RefUnwindSafe for Comparing<S, T, F> where
    F: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<S, T, F> !Send for Comparing<S, T, F>

impl<S, T, F> !Sync for Comparing<S, T, F>

impl<S: ?Sized, T: ?Sized, F> Unpin for Comparing<S, T, F> where
    F: Unpin

impl<S: ?Sized, T: ?Sized, F> UnwindSafe for Comparing<S, T, F> where
    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.