pub trait UintTraits: IntTraits {
const OVERFLOWING_ADD: &'static str;
const OVERFLOWING_SUB: &'static str;
const SQUARE_ROOT: &'static str;
const SQUARE_ROOT_TYPE_ID: GenericTypeId;
const DIVMOD: &'static str;
const BITWISE: &'static str;
}
Expand description
Trait for implementing unsigned integers.
Required Associated Constants§
sourceconst OVERFLOWING_ADD: &'static str
const OVERFLOWING_ADD: &'static str
The generic libfunc id for addition.
sourceconst OVERFLOWING_SUB: &'static str
const OVERFLOWING_SUB: &'static str
The generic libfunc id for subtraction.
sourceconst SQUARE_ROOT: &'static str
const SQUARE_ROOT: &'static str
The generic libfunc id for calculating the integer square root.
sourceconst SQUARE_ROOT_TYPE_ID: GenericTypeId
const SQUARE_ROOT_TYPE_ID: GenericTypeId
The generic type id for the type’s square root.
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.