pub trait TextMeasurementEngine {
// Required method
fn measure_text(
&self,
size_available: Vec2,
mapping: &CoordsMapping,
widget: &TextBox,
) -> Option<Rect>;
}
pub trait TextMeasurementEngine {
// Required method
fn measure_text(
&self,
size_available: Vec2,
mapping: &CoordsMapping,
widget: &TextBox,
) -> Option<Rect>;
}