pub fn clamp_i32(val: i64) -> i32
Expand description

Clamps the given value to the [-2_147_483_648, 2_147_483_647] range.