Function icu_properties::sets::load_emoji_presentation
source ยท pub fn load_emoji_presentation(
provider: &(impl DataProvider<EmojiPresentationV1Marker> + ?Sized),
) -> Result<CodePointSetData, PropertiesError>
Expand description
A version of emoji_presentation()
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
.