conrod_core::utils
pub fn clamp<T: PartialOrd>(n: T, start: T, end: T) -> T
Clamp a value between some range.