clamped_values 0.1.0

Provides a generic `ClampedValue` struct that stores a value and ensures that it is always within the specified minimum and maximum values.
Documentation
  • Coverage
  • 72.73%
    8 out of 11 items documented2 out of 10 items with examples
  • Size
  • Source code size: 11.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.65 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • bread42/clamped_values
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bread42

Usage

Add the following to your Cargo.toml

[dependencies]

clamped_values = "0.1.0"