[]Function geng::prelude::clamp

pub fn clamp<T>(x: T, range: RangeInclusive<T>) -> T where
    T: PartialOrd<T>,