Expand description
Additional functionality for numerics.
This module provides some extra types that are useful when doing numerical work. See the individual documentation for each piece for more information.
Structs§
- NonZero
 - A value that is known not to equal zero.
 - Parse
Float Error  - An error which can be returned when parsing a float.
 - Parse
IntError  - An error which can be returned when parsing an integer.
 - Saturating
 - Provides intentionally-saturating arithmetic on 
T. - TryFrom
IntError  - The error type returned when a checked integral type conversion fails.
 - Wrapping
 - Provides intentionally-wrapped arithmetic on 
T. 
Enums§
- FpCategory
 - A classification of floating point numbers.
 - IntError
Kind  - Enum to store the various types of errors that can cause parsing an integer to fail.
 
Traits§
- Zeroable
Primitive Experimental  - A marker trait for primitive types which can be zero.
 
Type Aliases§
- NonZero
I8  - An 
i8that is known not to equal zero. - NonZero
I16  - An 
i16that is known not to equal zero. - NonZero
I32  - An 
i32that is known not to equal zero. - NonZero
I64  - An 
i64that is known not to equal zero. - NonZero
I128  - An 
i128that is known not to equal zero. - NonZero
Isize  - An 
isizethat is known not to equal zero. - NonZero
U8  - A 
u8that is known not to equal zero. - NonZero
U16  - A 
u16that is known not to equal zero. - NonZero
U32  - A 
u32that is known not to equal zero. - NonZero
U64  - A 
u64that is known not to equal zero. - NonZero
U128  - A 
u128that is known not to equal zero. - NonZero
Usize  - A 
usizethat is known not to equal zero.