map_to_range

Crates.iomap_to_range
lib.rsmap_to_range
version0.2.0
sourcesrc
created_at2024-05-23 19:31:59.896486
updated_at2024-05-26 13:59:25.025948
descriptionA library to map numbers from on range to another
homepage
repositoryhttps://github.com/JonasFocke01/map_to_range
max_upload_size
id1249987
size18,228
Jonas_Focke (JonasFocke01)

documentation

README

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

Commit count: 4

cargo fmt