Expand description
Types and utilities related to bounded integers.
Structs§
- Bounded
U8 - Wrapper type for a
u8, providing minimum and maximum value bounds. - Bounded
U16 - Wrapper type for a
u16, providing minimum and maximum value bounds. - Bounded
U32 - Wrapper type for a
u32, providing minimum and maximum value bounds. - Bounded
U64 - Wrapper type for a
u64, providing minimum and maximum value bounds. - Invalid
Bounded U8 - Error encountered when attempting to wrap a
u8that is not within the given bounds. - Invalid
Bounded U16 - Error encountered when attempting to wrap a
u16that is not within the given bounds. - Invalid
Bounded U32 - Error encountered when attempting to wrap a
u32that is not within the given bounds. - Invalid
Bounded U64 - Error encountered when attempting to wrap a
u64that is not within the given bounds.
Enums§
- TryInto
Bounded U8Error - Error encountered when attempting to convert a
usizeinto aBoundedU8. - TryInto
Bounded U16Error - Error encountered when attempting to convert a
usizeinto aBoundedU16. - TryInto
Bounded U32Error - Error encountered when attempting to convert a
usizeinto aBoundedU32. - TryInto
Bounded U64Error - Error encountered when attempting to convert a
usizeinto aBoundedU64.
Traits§
- Bounded
- Trait that provides an interface for bounded types.