2 unstable releases
0.2.0 | May 26, 2024 |
---|---|
0.1.1 | May 26, 2024 |
0.1.0 |
|
#1586 in Algorithms
327 downloads per month
18KB
340 lines
map_to_range
map_to_range
hosts a trait MapRange
, that adds a function to numbers to map them from one range to another.
To use this, just bring the trait into scope with use map_to_range::MapRange;
.
This is designed to work in no_std
environments