Skip to main content

clamp_int

Function clamp_int 

Source
pub fn clamp_int(a: i32, lower: i32, upper: i32) -> i32
Expand description

@return an integer clamped between a lower and upper bound