icu_properties::sets

Function load_noncharacter_code_point

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

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