Function rerun::external::eframe::egui::remap_clamp

pub fn remap_clamp<T>(
    x: T,
    from: impl Into<RangeInclusive<T>>,
    to: impl Into<RangeInclusive<T>>
) -> T
where T: Real,
Expand description

Like remap, but also clamps the value so that the returned value is always in the to range.