icu_properties::maps

Function 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.

๐Ÿ“š 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