Function icu_properties::maps::hangul_syllable_type
source · pub const fn hangul_syllable_type() -> CodePointMapDataBorrowed<'static, HangulSyllableType>
Expand description
Returns a CodePointMapDataBorrowed
for the Hangul_Syllable_Type
Unicode enumerated property. See HangulSyllableType
.
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::{maps, HangulSyllableType};
assert_eq!(maps::hangul_syllable_type().get('ᄀ'), HangulSyllableType::LeadingJamo); // U+1100
assert_eq!(maps::hangul_syllable_type().get('가'), HangulSyllableType::LeadingVowelSyllable); // U+AC00