Skip to main content

TextMeasurer

Type Alias TextMeasurer 

Source
pub type TextMeasurer<'a, TextConfig> = dyn Fn(&str, &TextConfig) -> Dimensions + 'a;
Expand description

Closure type used to measure text during layout.