pub trait Integer: Sized + Copy + Clone + PartialEq + Eq + PartialOrd + Ord + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign + Mul<Output = Self> + MulAssign + Div<Output = Self> + DivAssign + Rem<Output = Self> + RemAssign + BitAnd<Output = Self> + BitAndAssign + BitOr<Output = Self> + BitOrAssign + BitXor<Output = Self> + BitXorAssign + Shl<u32, Output = Self> + ShlAssign<u32> + Shr<u32, Output = Self> + ShrAssign<u32> + Not {
type Signedness;
const BITS: u32;
}Expand description
Describes core properties of integer types.
Required Associated Types§
sourcetype Signedness
type Signedness
Required Associated Constants§
Object Safety§
This trait is not object safe.