num-traits
Numeric traits for generic mathematics in Rust.
Usage
Add this to your Cargo.toml
:
[dependencies]
num-traits = "0.1"
and this to your crate root:
extern crate num_traits;
Compatibility
The num-traits
crate is tested for rustc 1.8 and greater.