[][src]Function unsegen::widget::count_grapheme_clusters

pub fn count_grapheme_clusters(text: &str) -> usize

Count the number of grapheme clusters in the given string.

A thin convenience wrapper around unicode_segmentation.