icu_properties::sets

Function ids_binary_operator

Source
pub const fn ids_binary_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_binary_operator = sets::ids_binary_operator();

assert!(ids_binary_operator.contains32(0x2FF5));  // IDEOGRAPHIC DESCRIPTION CHARACTER SURROUND FROM ABOVE
assert!(!ids_binary_operator.contains32(0x3006));  // IDEOGRAPHIC CLOSING MARK