pub type OnBoundaryCallback<'a> = &'a mut dyn FnMut(&str, f32, f32);
Callback for word boundary events.