Integer

Trait Integer 

Source
pub trait Integer:
    Debug
    + Default
    + Copy
    + Eq
    + Ord
    + Hash
    + Sized
    + Send
    + Sync
    + 'static
    + Sealed { }
Expand description

Types that can be placed into a Reg.

This trait is implemented on all primitive integer types except the pointer-sized types usize and isize.

⚠️ This trait is sealed and cannot be implemented for types outside of this crate.

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 Integer for i8

Source§

impl Integer for i16

Source§

impl Integer for i32

Source§

impl Integer for i64

Source§

impl Integer for i128

Source§

impl Integer for u8

Source§

impl Integer for u16

Source§

impl Integer for u32

Source§

impl Integer for u64

Source§

impl Integer for u128

Implementors§