Function icu_properties::sets::grapheme_base
source · pub const fn grapheme_base() -> CodePointSetDataBorrowed<'static>
Expand description
Property used together with the definition of Standard Korean Syllable Block to define “Grapheme base”. See D58 in Chapter 3, Conformance in the Unicode Standard.
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let grapheme_base = sets::grapheme_base();
assert!(grapheme_base.contains('ക')); // U+0D15 MALAYALAM LETTER KA
assert!(grapheme_base.contains('\u{0D3F}')); // U+0D3F MALAYALAM VOWEL SIGN I
assert!(!grapheme_base.contains('\u{0D3E}')); // U+0D3E MALAYALAM VOWEL SIGN AA