pub type Measure<'a> = &'a dyn Fn(&str, f32) -> f32;
How wide text is at a font size, for whoever knows its font.