The methods of u32 that std::num defines, and the instances that mention it.
Methods
const MINsource
const MIN: u32 = 0;
The smallest u32.
const MAXsource
const MAX: u32 = 0xffff_ffff;
The largest u32.
const BITSsource
const BITS: u32 = 32;
The width of u32 in bits.
Instances
instance Ord[u32, u32]source
instance Ord[u32, u32] { ... }
In std::cmp.
u32s in numeric order.
instance Format[u32, W]source
forall W where Writer[W].
instance Format[u32, W] { ... }
In core::fmt.
A u32 formats as its decimal digits.
instance Printable[u32, W]source
forall W where Writer[W].
instance Printable[u32, W] { ... }
In core::fmt.
A u32 prints as its decimal digits.
instance Hash[u32]source
instance Hash[u32] { ... }
In std::hash.
A u32 hashes as its 64-bit value.
instance Eq[u32, u32]source
instance Eq[u32, u32] { ... }
In std::hash.
u32s are equal when their values are.
instance HashIn[u32, C]source
forall C.
instance HashIn[u32, C] { ... }
In std::hash.
A u32 key, under any capability: hashed and compared as Hash and Eq do.