Function conrod::utils::value_from_perc [−] [src]

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

Adjust the value to the given percentage.