map_to_range 0.2.0

A library to map numbers from on range to another
Documentation
  • Coverage
  • 75%
    3 out of 4 items documented2 out of 3 items with examples
  • Size
  • Source code size: 18.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 138.5 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • JonasFocke01/map_to_range
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • JonasFocke01

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