[−][src]Function conrod_core::utils::val_to_string
pub fn val_to_string<T: ToString + NumCast>(
val: T,
max: T,
val_rng: T,
pixel_range: usize
) -> String
Get a suitable string from the value, its max and the pixel range.
pub fn val_to_string<T: ToString + NumCast>(
val: T,
max: T,
val_rng: T,
pixel_range: usize
) -> String
Get a suitable string from the value, its max and the pixel range.