pub const fn clamp_i32(value: i32, min: i32, max: i32) -> i32
Clamp a value to the range [min, max] (i32 version).