type NumFormatter<'a> = Box<dyn Fn(f64, RangeInclusive<usize>) -> String + 'a>;
struct NumFormatter<'a>(/* private fields */);