Skip to main content

IntegerKey

Trait IntegerKey 

Source
pub trait IntegerKey: Key { }
Expand description

A key the sorts that do not compare elements can sort by: a primitive integer, char or bool.

It is sealed: it cannot be implemented outside this crate.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntegerKey for bool

Source§

impl IntegerKey for char

Source§

impl IntegerKey for i8

Source§

impl IntegerKey for i16

Source§

impl IntegerKey for i32

Source§

impl IntegerKey for i64

Source§

impl IntegerKey for i128

Source§

impl IntegerKey for isize

Source§

impl IntegerKey for u8

Source§

impl IntegerKey for u16

Source§

impl IntegerKey for u32

Source§

impl IntegerKey for u64

Source§

impl IntegerKey for u128

Source§

impl IntegerKey for usize

Implementors§