Crate num_traits [−] [src]
Numeric traits for generic mathematics
Reexports
pub use bounds::Bounded; |
pub use float::Float; |
pub use float::FloatConst; |
pub use identities::Zero; |
pub use identities::One; |
pub use identities::zero; |
pub use identities::one; |
pub use ops::checked::*; |
pub use ops::wrapping::*; |
pub use ops::saturating::Saturating; |
pub use sign::Signed; |
pub use sign::Unsigned; |
pub use sign::abs; |
pub use sign::abs_sub; |
pub use sign::signum; |
pub use cast::*; |
pub use int::PrimInt; |
pub use pow::pow; |
pub use pow::checked_pow; |
Modules
| bounds | |
| cast | |
| float | |
| identities | |
| int | |
| ops | |
| pow | |
| sign |
Structs
| ParseFloatError |
Enums
| FloatErrorKind |
Traits
| Num |
The base trait for numeric types |
Functions
| clamp |
A value bounded by a minimum and a maximum |