Skip to main content

NumFormatter

Type Alias NumFormatter 

Source
pub type NumFormatter<'a> = Arc<dyn Fn(f64, RangeInclusive<usize>) -> String + 'a>;
Available on crate feature egui only.
Expand description

Formats a value for display, given the range of decimals it may show.

Aliased Typeยง

pub struct NumFormatter<'a> { /* private fields */ }