devela::_dep::symphonia::core::util::clamp

Function clamp_i32

pub fn clamp_i32(val: i64) -> i32 
Available on crate feature dep_symphonia only.
Expand description

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