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§

§

impl IntegerType for i8

§

impl IntegerType for i16

§

impl IntegerType for i32

§

impl IntegerType for i64

§

impl IntegerType for i128

§

impl IntegerType for u8

§

impl IntegerType for u16

§

impl IntegerType for u32

§

impl IntegerType for u64

§

impl IntegerType for u128

Implementors§