Function normalized_from_value

Source
fn normalized_from_value(
    value: f64,
    range: RangeInclusive<f64>,
    spec: &SliderSpec,
) -> f64