Crates.io | map-range |
lib.rs | map-range |
version | 0.1.2 |
source | src |
created_at | 2022-10-09 15:07:44.371414 |
updated_at | 2023-08-31 11:25:15.054395 |
description | map a value from a range to another range |
homepage | |
repository | https://github.com/Overpeek/map-range |
max_upload_size | |
id | 684046 |
size | 6,463 |
use map_range::MapRange;
let _ = 5_i32.map_range(0..10, -10..10);