pub const fn variation_selector() -> CodePointSetDataBorrowed<'static>
Expand description
Characters that are Variation Selectors.
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let variation_selector = sets::variation_selector();
assert!(variation_selector.contains32(0x180D)); // MONGOLIAN FREE VARIATION SELECTOR THREE
assert!(!variation_selector.contains32(0x303E)); // IDEOGRAPHIC VARIATION INDICATOR
assert!(variation_selector.contains32(0xFE0F)); // VARIATION SELECTOR-16
assert!(!variation_selector.contains32(0xFE10)); // PRESENTATION FORM FOR VERTICAL COMMA
assert!(variation_selector.contains32(0xE01EF)); // VARIATION SELECTOR-256