pub trait Int:
Copy
+ Debug
+ PartialOrd
+ Ord
+ Sub<Self, Output = Self>
+ Rem<Self, Output = Self>
+ Shr<Self, Output = Self>
+ Shl<usize, Output = Self>
+ BitOr<Self, Output = Self> { }Expand description
A trait that is implemented for all of the primitive integers:
u8u16u32u64u128usizei8i16i32i64i128isize
Don’t implement this trait yourself.
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.