[−][src]Struct rdx::KeyStrategy
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]
fn clone(&self) -> KeyStrategy<F, T, K>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
K: RadixSortKey,
F: Fn(&T) -> K,
const HAS_CONST_KEY_LEN: bool
[src]
const MAX_KEY_LEN: Option<usize>
[src]
fn has_const_key_len(&self) -> bool
[src]
fn max_key_len(&self) -> Option<usize>
[src]
fn key_len(&self, key: &T) -> usize
[src]
fn key_byte(&self, key: &T, byte: usize) -> u8
[src]
impl<F, T, K> TrySorter<T> for KeyStrategy<F, T, K> where
F: FnMut(&T) -> K,
K: RadixSortKey,
[src]
F: FnMut(&T) -> K,
K: RadixSortKey,
Auto Trait Implementations
impl<F, T, K> RefUnwindSafe for KeyStrategy<F, T, K> where
F: RefUnwindSafe,
K: RefUnwindSafe,
T: RefUnwindSafe,
F: RefUnwindSafe,
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T, K> Send for KeyStrategy<F, T, K> where
F: Send,
K: Send,
T: Send,
F: Send,
K: Send,
T: Send,
impl<F, T, K> Sync for KeyStrategy<F, T, K> where
F: Sync,
K: Sync,
T: Sync,
F: Sync,
K: Sync,
T: Sync,
impl<F, T, K> Unpin for KeyStrategy<F, T, K> where
F: Unpin,
K: Unpin,
T: Unpin,
F: Unpin,
K: Unpin,
T: Unpin,
impl<F, T, K> UnwindSafe for KeyStrategy<F, T, K> where
F: UnwindSafe,
K: UnwindSafe,
T: UnwindSafe,
F: UnwindSafe,
K: UnwindSafe,
T: UnwindSafe,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, K> RadixSortStrategy<K> for T where
T: KeyBytes<K> + TrySorter<K>,
[src]
T: KeyBytes<K> + TrySorter<K>,
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>,