[][src]Struct rdx::KeyStrategy

pub struct KeyStrategy<F, T, K> {
    pub key: F,
    // some fields omitted
}

A key-based unordered sort on a type

Fields

key: F

The underlying key extraction function

Trait Implementations

impl<F: Clone, T: Clone, K: Clone> Clone for KeyStrategy<F, T, K>[src]

impl<F: Copy, T: Copy, K: Copy> Copy for KeyStrategy<F, T, K>[src]

impl<F: Debug, T: Debug, K: Debug> Debug for KeyStrategy<F, T, K>[src]

impl<F, T, K> KeyBytes<T> for KeyStrategy<F, T, K> where
    K: RadixSortKey,
    F: Fn(&T) -> K, 
[src]

impl<F, T, K> TrySorter<T> for KeyStrategy<F, T, K> where
    F: FnMut(&T) -> K,
    K: RadixSortKey
[src]

Auto Trait Implementations

impl<F, T, K> RefUnwindSafe for KeyStrategy<F, T, K> where
    F: RefUnwindSafe,
    K: RefUnwindSafe,
    T: RefUnwindSafe

impl<F, T, K> Send for KeyStrategy<F, T, K> where
    F: Send,
    K: Send,
    T: Send

impl<F, T, K> Sync for KeyStrategy<F, T, K> where
    F: Sync,
    K: Sync,
    T: Sync

impl<F, T, K> Unpin for KeyStrategy<F, T, K> where
    F: Unpin,
    K: Unpin,
    T: Unpin

impl<F, T, K> UnwindSafe for KeyStrategy<F, T, K> where
    F: UnwindSafe,
    K: UnwindSafe,
    T: UnwindSafe

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> From<T> for T[src]

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

impl<T, K> RadixSortStrategy<K> for T where
    T: KeyBytes<K> + TrySorter<K>, 
[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.