nannou::ui::text::line
pub fn width(text: &str, font: &Font<'static>, font_size: u32) -> f64
Produce the width of the given line of text including spaces (i.e. ' ').