pub trait MinInt:
Copy
+ Debug
+ BitOr<Output = Self>
+ Not<Output = Self>
+ Shl<u32, Output = Self> {
type OtherSign: MinInt;
type Unsigned: MinInt;
const SIGNED: bool;
const BITS: u32;
const ZERO: Self;
const ONE: Self;
const MIN: Self;
const MAX: Self;
}
Expand description
Minimal integer implementations needed on all integer types, including wide integers.
Required Associated Constants§
Required Associated Types§
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.