pub const fn clamp(x: i32, min: i32, max: i32) -> i32
Clamps a scalar x between min and max.
x
min
max