pub fn load_general_category(
    provider: &(impl DataProvider<GeneralCategoryV1Marker> + ?Sized)
) -> Result<CodePointMapData<GeneralCategory>, PropertiesError>
Expand description

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