fn match_class_cached<'a>( class_def: impl Fn(GlyphId) -> u16 + 'a, ) -> impl Fn(&mut GlyphInfo, u32) -> bool + 'a