clamp

Function clamp 

Source
pub fn clamp(value: f64, min: f64, max: f64) -> f64
Expand description

Clamp a value between min and max