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
1
2
3
4
5
6
7
8
9
10
11
12
[dependencies.num-traits]
version = "0.2.17"

[package]
description = "Provides a generic `ClampedValue` struct that stores a value and ensures that it is always within the specified minimum and maximum values."
edition = "2021"
keywords = ["clamp", "restricted", "bound", "struct", "generic"]
license = "MIT OR Apache-2.0"
name = "clamped_values"
readme = "README.md"
repository = "https://github.com/bread42/clamped_value"
version = "0.1.0"