UnsignedInteger

Trait UnsignedInteger 

Source
pub trait UnsignedInteger: Integer { }
Expand description

The base trait for all unsigned numbers, either built-in (u8, u16, u32, u64, u128) or arbitrary-int (u1, u7 etc.).

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 UnsignedInteger for u8

Source§

impl UnsignedInteger for u16

Source§

impl UnsignedInteger for u32

Source§

impl UnsignedInteger for u64

Source§

impl UnsignedInteger for u128

Implementors§

Source§

impl<const BITS: usize> UnsignedInteger for UInt<u8, BITS>

Source§

impl<const BITS: usize> UnsignedInteger for UInt<u16, BITS>

Source§

impl<const BITS: usize> UnsignedInteger for UInt<u32, BITS>

Source§

impl<const BITS: usize> UnsignedInteger for UInt<u64, BITS>

Source§

impl<const BITS: usize> UnsignedInteger for UInt<u128, BITS>