unsegen::widget
pub fn text_width(text: &str) -> Width
Calculate the (monospace) width of the given string.
A thin convenience wrapper around unicode_width.