Function image::utils::clamp

source ·
pub(crate) fn clamp<N>(a: N, min: N, max: N) -> Nwhere
    N: PartialOrd,