icu_properties::sets

Function ids_trinary_operator

Source
pub const fn ids_trinary_operator() -> CodePointSetDataBorrowed<'static>
Expand description

Characters used in Ideographic Description Sequences

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let ids_trinary_operator = sets::ids_trinary_operator();

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