Expand description
Types and utilities related to bounded integers.
Structs
Wrapper type for a u16
, providing minimum and maximum value bounds.
Wrapper type for a u32
, providing minimum and maximum value bounds.
Wrapper type for a u64
, providing minimum and maximum value bounds.
Error encountered when attempting to wrap a u8
that is not within the given bounds.
Error encountered when attempting to wrap a u16
that is not within the given bounds.
Error encountered when attempting to wrap a u32
that is not within the given bounds.
Error encountered when attempting to wrap a u64
that is not within the given bounds.
Enums
Error encountered when attempting to convert a usize
into a BoundedU16
.
Error encountered when attempting to convert a usize
into a BoundedU32
.
Error encountered when attempting to convert a usize
into a BoundedU64
.
Traits
Trait that provides an interface for bounded types.