pub trait Integer:
Copy
+ From<u8>
+ PartialOrd
+ Add<Output = Self>
+ BitAnd<Output = Self>
+ BitXor<Output = Self>
+ Div<Output = Self>
+ Mul<Output = Self>
+ Rem<Output = Self>
+ Shl<u32, Output = Self>
+ Shr<u32, Output = Self> {
const ZERO: Self;
const ONE: Self;
const TEN: Self;
// Required methods
fn lowest_one(self) -> Option<u32>;
fn minmax(self, rhs: Self) -> (Self, Self);
}Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".