pub trait ValueFromPercent<T> {
    // Required method
    fn value_from_percent(percent: f32, min: T, max: T) -> T;
}

Required Methods§

source

fn value_from_percent(percent: f32, min: T, max: T) -> T

Object Safety§

This trait is not object safe.

Implementors§