pub struct RadixSortStrategyWith<B, S> {
pub bytes: B,
pub sort: S,
}Expand description
A radix sort strategy with a given byte extraction function and fallback sort
Fields§
§bytes: BThe byte-extraction method of this strategy
sort: SThe fallback sort used by this strategy
Trait Implementations§
Source§impl<B: Clone, S: Clone> Clone for RadixSortStrategyWith<B, S>
impl<B: Clone, S: Clone> Clone for RadixSortStrategyWith<B, S>
Source§fn clone(&self) -> RadixSortStrategyWith<B, S>
fn clone(&self) -> RadixSortStrategyWith<B, S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<B, S, K> KeyBytes<K> for RadixSortStrategyWith<B, S>where
B: KeyBytes<K>,
impl<B, S, K> KeyBytes<K> for RadixSortStrategyWith<B, S>where
B: KeyBytes<K>,
Source§const HAS_CONST_KEY_LEN: bool = B::HAS_CONST_KEY_LEN
const HAS_CONST_KEY_LEN: bool = B::HAS_CONST_KEY_LEN
Get whether the key length for this type is always constant
Source§const MAX_KEY_LEN: Option<usize> = B::MAX_KEY_LEN
const MAX_KEY_LEN: Option<usize> = B::MAX_KEY_LEN
Get the maximum key length for this type
Source§fn has_const_key_len(&self) -> bool
fn has_const_key_len(&self) -> bool
Whether this key length is constant
Source§fn max_key_len(&self) -> Option<usize>
fn max_key_len(&self) -> Option<usize>
The maximum key length
Source§impl<B, S, K> TrySorter<K> for RadixSortStrategyWith<B, S>where
S: TrySorter<K>,
impl<B, S, K> TrySorter<K> for RadixSortStrategyWith<B, S>where
S: TrySorter<K>,
impl<B: Copy, S: Copy> Copy for RadixSortStrategyWith<B, S>
Auto Trait Implementations§
impl<B, S> Freeze for RadixSortStrategyWith<B, S>
impl<B, S> RefUnwindSafe for RadixSortStrategyWith<B, S>where
B: RefUnwindSafe,
S: RefUnwindSafe,
impl<B, S> Send for RadixSortStrategyWith<B, S>
impl<B, S> Sync for RadixSortStrategyWith<B, S>
impl<B, S> Unpin for RadixSortStrategyWith<B, S>
impl<B, S> UnwindSafe for RadixSortStrategyWith<B, S>where
B: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more