[][src]Struct classific::EqByRef

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

See eq_by_ref.

Trait Implementations

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

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

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

impl<S, T: ?Sized, F> EqClass<S> for EqByRef<S, T, F> where
    S: ?Sized,
    T: PartialEq<T>,
    F: Fn(&S) -> &T, 
[src]

Auto Trait Implementations

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

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

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

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

impl<S: ?Sized, T: ?Sized, F> UnwindSafe for EqByRef<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> EqClass<T> for F where
    F: Fn(&T, &T) -> bool,
    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.