icu_properties::sets

Function load_changes_when_nfkc_casefolded

Source
pub fn load_changes_when_nfkc_casefolded(
    provider: &(impl DataProvider<ChangesWhenNfkcCasefoldedV1Marker> + ?Sized),
) -> Result<CodePointSetData, PropertiesError>
Expand description

A version of changes_when_nfkc_casefolded() 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 CodePointSetData::as_borrowed.