unicode_segmentation::grapheme

Function new_grapheme_indices

Source
pub fn new_grapheme_indices(s: &str, is_extended: bool) -> GraphemeIndices<'_>