icu_properties::sets

Function load_for_general_category_group

Source
pub fn load_for_general_category_group(
    provider: &(impl DataProvider<GeneralCategoryV1Marker> + ?Sized),
    enum_val: GeneralCategoryGroup,
) -> Result<CodePointSetData, PropertiesError>
Expand description

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

📚 Help choosing a constructor