pub type Hyphenate = fn(&str, Lang, &mut dyn FnMut(usize));
Calls out with the byte offset in word after each of its syllables but the last, by lang’s patterns.
out
word
lang