Function conrod::utils::percentage
[−]
[src]
pub fn percentage<T: Float + NumCast>(value: T, min: T, max: T) -> f32
Get value percentage between max and min.
pub fn percentage<T: Float + NumCast>(value: T, min: T, max: T) -> f32
Get value percentage between max and min.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).