icu_properties::sets

Function load_variation_selector

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

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