Function image::utils::clamp

source ยท
pub(crate) fn clamp<N>(a: N, min: N, max: N) -> N
where N: PartialOrd,