icu_properties::maps

Function load_grapheme_cluster_break

Source
pub fn load_grapheme_cluster_break(
    provider: &(impl DataProvider<GraphemeClusterBreakV1Marker> + ?Sized),
) -> Result<CodePointMapData<GraphemeClusterBreak>, PropertiesError>
Expand description

A version of grapheme_cluster_break() that uses custom data provided by a DataProvider.

Note that this will return an owned version of the data. Functionality is available on the borrowed version, accessible through CodePointMapData::as_borrowed.

📚 Help choosing a constructor