Module niche

Source
Expand description

Specialized numeric types and behaviors.

Macros§

impl_non_value
Implements a NonValue[I|U]B<V>.

Structs§

NonValueI8
A signed integer that is known not to equal some specific value.
NonValueU8
An unsigned integer that is known not to equal some specific value.
NonValueU16
An unsigned integer that is known not to equal some specific value.
NonZero
core A value that is known not to equal zero.
Saturating
core Provides intentionally-saturating arithmetic on T.
TryFromIntError
🚩 core The error type returned when a checked integral type conversion fails.
Wrapping
core Provides intentionally-wrapped arithmetic on T.

Type Aliases§

NonExtremeI8
A signed integer that is known not to equal its most extreme value (MIN).
NonExtremeU8
An unsigned integer that is known not to equal its most extreme value (MAX).
NonExtremeU16
An unsigned integer that is known not to equal its most extreme value (MAX).
NonZeroI8
core A signed integer that is known not to equal zero.
NonZeroI16
core A signed integer that is known not to equal zero.
NonZeroI32
core A signed integer that is known not to equal zero.
NonZeroI64
core A signed integer that is known not to equal zero.
NonZeroI128
core A signed integer that is known not to equal zero.
NonZeroIsize
core A signed integer that is known not to equal zero.
NonZeroU8
core An unsigned integer that is known not to equal zero.
NonZeroU16
core An unsigned integer that is known not to equal zero.
NonZeroU32
core An unsigned integer that is known not to equal zero.
NonZeroU64
core An unsigned integer that is known not to equal zero.
NonZeroU128
core An unsigned integer that is known not to equal zero.
NonZeroUsize
core An unsigned integer that is known not to equal zero.