Module nonzero
Definitions of integer that is known not to equal zero.
Structs
- NonZero A value that is known not to equal zero.
Traits
- ZeroablePrimitive A marker trait for primitive types which can be zero.
Type Aliases
-
NonZeroI128
An
i128that is known not to equal zero. -
NonZeroI16
An
i16that is known not to equal zero. -
NonZeroI32
An
i32that is known not to equal zero. -
NonZeroI64
An
i64that is known not to equal zero. -
NonZeroI8
An
i8that is known not to equal zero. -
NonZeroIsize
An
isizethat is known not to equal zero. -
NonZeroU128
A
u128that is known not to equal zero. -
NonZeroU16
A
u16that is known not to equal zero. -
NonZeroU32
A
u32that is known not to equal zero. -
NonZeroU64
A
u64that is known not to equal zero. -
NonZeroU8
A
u8that is known not to equal zero. -
NonZeroUsize
A
usizethat is known not to equal zero.