[][src]Function conrod_core::utils::clamp

pub fn clamp<T: PartialOrd>(n: T, start: T, end: T) -> T

Clamp a value between some range.