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

Characters used in Ideographic Description Sequences

Example

use icu_properties::sets;

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

assert!(ids_trinary_operator.contains32(0x2FF2));  // IDEOGRAPHIC DESCRIPTION CHARACTER LEFT TO MIDDLE AND RIGHT
assert!(ids_trinary_operator.contains32(0x2FF3));  // IDEOGRAPHIC DESCRIPTION CHARACTER ABOVE TO MIDDLE AND BELOW
assert!(!ids_trinary_operator.contains32(0x2FF4));
assert!(!ids_trinary_operator.contains32(0x2FF5));  // IDEOGRAPHIC DESCRIPTION CHARACTER SURROUND FROM ABOVE
assert!(!ids_trinary_operator.contains32(0x3006));  // IDEOGRAPHIC CLOSING MARK