pub trait RadixKey:
Copy
+ Send
+ Sync
+ Ord
+ Default
+ Not<Output = Self> {
const BYTES: usize;
// Required methods
fn byte(self, b: usize) -> usize;
fn word(self) -> u64;
fn extremes(x: &[Self]) -> (Self, Self);
}Expand description
An unsigned key that sort_rows sorts one byte at a time.
Required Associated Constants§
Required Methods§
fn byte(self, b: usize) -> usize
Sourcefn extremes(x: &[Self]) -> (Self, Self)
fn extremes(x: &[Self]) -> (Self, Self)
The least and the greatest key of x, through crate::reduce::extremes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".