[][src]Trait rdx::ConstRadixSortKey

pub trait ConstRadixSortKey: Ord {
    const CONST_DELEGATION_SIZE: usize;
    const CONST_KEY_LEN: usize;

    fn const_key_byte(&self, byte: usize) -> u8;
}

A radix sort key known to have a constant key length

Associated Constants

const CONST_DELEGATION_SIZE: usize

Get at what size to delegate this sort to another algorithm. This is a hint.

const CONST_KEY_LEN: usize

Constant key length for this key

Loading content...

Required methods

fn const_key_byte(&self, byte: usize) -> u8

Get the nth byte of this key

Loading content...

Implementations on Foreign Types

impl ConstRadixSortKey for bool[src]

impl ConstRadixSortKey for u8[src]

impl ConstRadixSortKey for i8[src]

impl ConstRadixSortKey for u16[src]

impl ConstRadixSortKey for i16[src]

impl ConstRadixSortKey for u32[src]

impl ConstRadixSortKey for i32[src]

impl ConstRadixSortKey for u64[src]

impl ConstRadixSortKey for i64[src]

impl ConstRadixSortKey for usize[src]

impl ConstRadixSortKey for isize[src]

Loading content...

Implementors

impl<F: Float> ConstRadixSortKey for OrderedFloat<F>[src]

Loading content...