std::num - Rust (original) (raw)
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.
A value that is known not to equal zero.
An error which can be returned when parsing a float.
An error which can be returned when parsing an integer.
Provides intentionally-saturating arithmetic on T
.
The error type returned when a checked integral type conversion fails.
Provides intentionally-wrapped arithmetic on T
.
A classification of floating point numbers.
Enum to store the various types of errors that can cause parsing an integer to fail.
ZeroablePrimitiveExperimental
A marker trait for primitive types which can be zero.
An i8 that is known not to equal zero.
An i16 that is known not to equal zero.
An i32 that is known not to equal zero.
An i64 that is known not to equal zero.
An i128 that is known not to equal zero.
An isize that is known not to equal zero.
A u8 that is known not to equal zero.
A u16 that is known not to equal zero.
A u32 that is known not to equal zero.
A u64 that is known not to equal zero.
A u128 that is known not to equal zero.
A usize that is known not to equal zero.