[][src]Trait voracious_radix_sort::traits::radix_key::RadixKey

pub trait RadixKey {
    type Key: Copy + Shl<Output = Self::Key> + Shr<Output = Self::Key> + BitAnd<Output = Self::Key> + BitOrAssign + PartialEq + PartialOrd + Ord + Send + Sync + Display;
    fn into_keytype(&self) -> Self::Key;
fn type_size(&self) -> usize;
fn usize_to_keytype(&self, item: usize) -> Self::Key;
fn keytype_to_usize(&self, item: Self::Key) -> usize;
fn default_key(&self) -> Self::Key;
fn one(&self) -> Self::Key; }

Associated Types

type Key: Copy + Shl<Output = Self::Key> + Shr<Output = Self::Key> + BitAnd<Output = Self::Key> + BitOrAssign + PartialEq + PartialOrd + Ord + Send + Sync + Display

Loading content...

Required methods

fn into_keytype(&self) -> Self::Key

fn type_size(&self) -> usize

fn usize_to_keytype(&self, item: usize) -> Self::Key

fn keytype_to_usize(&self, item: Self::Key) -> usize

fn default_key(&self) -> Self::Key

fn one(&self) -> Self::Key

Loading content...

Implementations on Foreign Types

impl RadixKey for bool[src]

type Key = u8

impl RadixKey for char[src]

type Key = u32

impl RadixKey for f32[src]

type Key = u32

impl RadixKey for f64[src]

type Key = u64

impl RadixKey for u8[src]

type Key = u8

impl RadixKey for u16[src]

type Key = u16

impl RadixKey for u32[src]

type Key = u32

impl RadixKey for u64[src]

type Key = u64

impl RadixKey for u128[src]

type Key = u128

impl RadixKey for i8[src]

type Key = u8

impl RadixKey for i16[src]

type Key = u16

impl RadixKey for i32[src]

type Key = u32

impl RadixKey for i64[src]

type Key = u64

impl RadixKey for i128[src]

type Key = u128

Loading content...

Implementors

Loading content...