[−][src]Struct rdx::DefaultStrategy
The default radix sort strategy for a type
Trait Implementations
impl Clone for DefaultStrategy
[src]
fn clone(&self) -> DefaultStrategy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DefaultStrategy
[src]
impl Debug for DefaultStrategy
[src]
impl<K: RadixSortKey> KeyBytes<K> for DefaultStrategy
[src]
const HAS_CONST_KEY_LEN: bool
[src]
Get whether the key length for this type is always constant
const MAX_KEY_LEN: Option<usize>
[src]
Get the maximum key length for this type
fn has_const_key_len(&self) -> bool
[src]
Whether this key length is constant
fn max_key_len(&self) -> Option<usize>
[src]
The maximum key length
fn key_len(&self, key: &K) -> usize
[src]
The length of a given key
fn key_byte(&self, key: &K, byte: usize) -> u8
[src]
Get the nth byte of a given key. byte
must be less than self.len(key)
impl<K: RadixSortKey> TrySorter<K> for DefaultStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for DefaultStrategy
impl Send for DefaultStrategy
impl Sync for DefaultStrategy
impl Unpin for DefaultStrategy
impl UnwindSafe for DefaultStrategy
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>,