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