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.