Function nannou::ui::utils::value_from_perc[][src]

pub fn value_from_perc<T>(perc: f32, min: T, max: T) -> T where
    T: Float + NumCast + ToPrimitive
Expand description

Adjust the value to the given percentage.