pub fn load_extended_pictographic(
    provider: &impl DataProvider<ExtendedPictographicV1Marker>
) -> Result<CodePointSetData, PropertiesError>
Expand description

Pictographic symbols, as well as reserved ranges in blocks largely associated with emoji characters

Example

use icu_properties::sets;

let data =
    sets::load_extended_pictographic(&icu_testdata::unstable())
        .expect("The data should be valid");
let extended_pictographic = data.as_borrowed();

assert!(extended_pictographic.contains('🥳')); // U+1F973 FACE WITH PARTY HORN AND PARTY HAT
assert!(!extended_pictographic.contains('🇪'));  // U+1F1EA REGIONAL INDICATOR SYMBOL LETTER E