geng_core::prelude
pub fn clamp_abs<T>(x: T, max: T) -> T where T: PartialOrd<T> + Neg<Output = T> + Copy,