Numy
Trait boundaries for primitive Rust types.
Features
Numy contains traits for selection of Rust primitive types, mainly useful for generic guards.
For example: having a function take a type T that is only a numeric value, or
one that takes only floats, or one that takes only signed integers, etc.
To see the provided traits, see the API's documentation.
Examples
use ;
/// Takes only floating point types (`f32` or `f64`).
/// Takes only signed types such as `i32` or `f64`.
/// Takes only unsigned integers such as `u32`.
Feature: "ex"
The "ex" feature adds additional functionality to the Num trait for smoother
usage of generic Num types.