Expand description
Numeric traits and functions for the built-in numeric types.
Structs§
- NonZero
Non- ferrocene_certified
- A value that is known not to equal zero.
- Parse
Float Error Non- ferrocene_certified
- An error which can be returned when parsing a float.
- Parse
IntError Non- ferrocene_certified
- An error which can be returned when parsing an integer.
- Saturating
Non- ferrocene_certified
- Provides intentionally-saturating arithmetic on
T
. - TryFrom
IntError Non- ferrocene_certified
- The error type returned when a checked integral type conversion fails.
- Wrapping
Non- ferrocene_certified
- Provides intentionally-wrapped arithmetic on
T
.
Enums§
- FpCategory
Non- ferrocene_certified
- A classification of floating point numbers.
- IntError
Kind Non- ferrocene_certified
- Enum to store the various types of errors that can cause parsing an integer to fail.
Traits§
- Zeroable
Primitive Experimental Non- ferrocene_certified
- A marker trait for primitive types which can be zero.
Type Aliases§
- NonZero
I8 Non- ferrocene_certified
- An
i8
that is known not to equal zero. - NonZero
I16 Non- ferrocene_certified
- An
i16
that is known not to equal zero. - NonZero
I32 Non- ferrocene_certified
- An
i32
that is known not to equal zero. - NonZero
I64 Non- ferrocene_certified
- An
i64
that is known not to equal zero. - NonZero
I128 Non- ferrocene_certified
- An
i128
that is known not to equal zero. - NonZero
Isize Non- ferrocene_certified
- An
isize
that is known not to equal zero. - NonZero
U8 Non- ferrocene_certified
- A
u8
that is known not to equal zero. - NonZero
U16 Non- ferrocene_certified
- A
u16
that is known not to equal zero. - NonZero
U32 Non- ferrocene_certified
- A
u32
that is known not to equal zero. - NonZero
U64 Non- ferrocene_certified
- A
u64
that is known not to equal zero. - NonZero
U128 Non- ferrocene_certified
- A
u128
that is known not to equal zero. - NonZero
Usize Non- ferrocene_certified
- A
usize
that is known not to equal zero.