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 - 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
i8that is known not to equal zero. - NonZero
I16 Non- ferrocene_certified - An
i16that is known not to equal zero. - NonZero
I32 Non- ferrocene_certified - An
i32that is known not to equal zero. - NonZero
I64 Non- ferrocene_certified - An
i64that is known not to equal zero. - NonZero
I128 Non- ferrocene_certified - An
i128that is known not to equal zero. - NonZero
Isize Non- ferrocene_certified - An
isizethat is known not to equal zero. - NonZero
U8 Non- ferrocene_certified - A
u8that is known not to equal zero. - NonZero
U16 Non- ferrocene_certified - A
u16that is known not to equal zero. - NonZero
U32 Non- ferrocene_certified - A
u32that is known not to equal zero. - NonZero
U64 Non- ferrocene_certified - A
u64that is known not to equal zero. - NonZero
U128 Non- ferrocene_certified - A
u128that is known not to equal zero. - NonZero
Usize Non- ferrocene_certified - A
usizethat is known not to equal zero.