[][src]Function nannou::math::clamp

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

Clamp a value between some range.