Int

Trait Int 

Source
pub trait Int: SealedInt { }
Expand description

A primitive unsigned integer that can be used as underlying key for IntMap.

Note that this is a sealed trait that cannot be implemented externally. Consider implementing IntKey instead.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Int for u8

Source§

impl Int for u16

Source§

impl Int for u32

Source§

impl Int for u64

Source§

impl Int for u128

Source§

impl Int for usize

Implementors§