[]Trait astral::math::num::PrimUnsignedInt

pub trait PrimUnsignedInt: AddAssign<Self> + AddAssign<&'a Self> + SubAssign<Self> + SubAssign<&'a Self> + MulAssign<Self> + MulAssign<&'a Self> + DivAssign<Self> + DivAssign<&'a Self> + RemAssign<Self> + RemAssign<&'a Self> + Debug + Display + Octal + Binary + LowerHex + UpperHex + PrimInt + WrappingAdd + WrappingSub + WrappingMul + WrappingShl + WrappingShr + Unsigned where
    <Self::NonZero as NonZero>::Int == Self, 
{ type NonZero: NonZero; }

Functions for primitive unsigned integral types.

Associated Types

type NonZero: NonZero

The NonZero part for this type.

Loading content...

Implementations on Foreign Types

impl PrimUnsignedInt for u64

type NonZero = NonZeroU64

impl PrimUnsignedInt for u32

type NonZero = NonZeroU32

impl PrimUnsignedInt for u128

type NonZero = NonZeroU128

impl PrimUnsignedInt for u8

type NonZero = NonZeroU8

impl PrimUnsignedInt for u16

type NonZero = NonZeroU16

impl PrimUnsignedInt for usize

type NonZero = NonZeroUsize

Loading content...

Implementors

Loading content...