icu_properties::maps

Function load_canonical_combining_class

Source
pub fn load_canonical_combining_class(
    provider: &(impl DataProvider<CanonicalCombiningClassV1Marker> + ?Sized),
) -> Result<CodePointMapData<CanonicalCombiningClass>, PropertiesError>
Expand description

A version of canonical_combining_class() 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