pub trait IntegerType: 'static + CheckedAbs + CheckedNeg + CheckedPow + CheckedRem + CheckedShl + CheckedShr + Debug + Default + Display + FromBits + FromBytes + FromStr<Err = ParseIntError> + Hash + Modulo + Zero + One + PartialOrd + Send + Sync + ToBits + ToBytes + ToPrimitive + Uniform + WrappingAbs + WrappingAdd + WrappingMul + WrappingNeg + WrappingPow + WrappingRem + WrappingShl + WrappingShr + WrappingSub + WrappingDiv + IntegerProperties { }
Expand description

Trait bound for integer values. Common to both signed and unsigned integers.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntegerType for i8

source§

impl IntegerType for i16

source§

impl IntegerType for i32

source§

impl IntegerType for i64

source§

impl IntegerType for i128

source§

impl IntegerType for u8

source§

impl IntegerType for u16

source§

impl IntegerType for u32

source§

impl IntegerType for u64

source§

impl IntegerType for u128

Implementors§