Trait TextLayout
piet
pub trait TextLayout { type Coord: Into<f64> + RoundFrom<f64>; fn width(&self) -> Self::Coord; }
type Coord: Into<f64> + RoundFrom<f64>
fn width(&self) -> Self::Coord
Measure the advance width of the text.