Module nonzero

Source
Expand description

Definitions of integer that is known not to equal zero.

Modulesยง

private ๐Ÿ”’

Macrosยง

impl_nonzero_auto_trait ๐Ÿ”’
impl_nonzero_fmt ๐Ÿ”’
impl_zeroable_primitive ๐Ÿ”’
nonzero_integer ๐Ÿ”’
nonzero_integer_signedness_dependent_impls ๐Ÿ”’
nonzero_integer_signedness_dependent_methods ๐Ÿ”’

Structsยง

NonZero
A value that is known not to equal zero.

Traitsยง

ZeroablePrimitiveExperimental
A marker trait for primitive types which can be zero.

Type Aliasesยง

NonZeroI8
An i8 that is known not to equal zero.
NonZeroI16
An i16 that is known not to equal zero.
NonZeroI32
An i32 that is known not to equal zero.
NonZeroI64
An i64 that is known not to equal zero.
NonZeroI128
An i128 that is known not to equal zero.
NonZeroIsize
An isize that is known not to equal zero.
NonZeroU8
A u8 that is known not to equal zero.
NonZeroU16
A u16 that is known not to equal zero.
NonZeroU32
A u32 that is known not to equal zero.
NonZeroU64
A u64 that is known not to equal zero.
NonZeroU128
A u128 that is known not to equal zero.
NonZeroUsize
A usize that is known not to equal zero.