pub trait Uint:
Sized
+ Copy
+ Default
+ PartialEq
+ AddAssign
+ Sub<Output = Self>
+ From<u8> {
// Required method
fn to_usize(self) -> usize;
}Expand description
An unsigned index type: u32, the index of every VM container, and
usize, a slice’s.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".