pub type MeasureFunType = Box<dyn Fn(&str, &TextConfig) -> Dimensions>;Expand description
Callback type for custom layout text measurers.
Matches the closure returned by RendererTextMeasuringProvider::provide_measurer.
Aliased Typeยง
pub struct MeasureFunType(/* private fields */);