Function nannou::ui::utils::value_from_perc
[−]
[src]
pub fn value_from_perc<T>(perc: f32, min: T, max: T) -> T where
T: Float + ToPrimitive + NumCast,
Adjust the value to the given percentage.