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.
๐ Help choosing a constructor
ยง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