Builtin type std::builtins::usize

Native unsigned integer (machine word)

On 64-bit systems, usize is equivalent to u64. On 32-bit systems, usize is equivalent to u32.

To help writing portable code, usize is a distinct type and not just a type alias. Conversions from usize to the equivalently sized unsigned integer require an explicit cast.

Methods

impl usize { ... }

Mixins

impl usize { ... }