Function icu_properties::maps::indic_syllabic_category

source ·
pub const fn indic_syllabic_category() -> CodePointMapDataBorrowed<'static, IndicSyllabicCategory>
Expand description

Return a CodePointMapData for the Indic_Syllabic_Category Unicode property. See IndicSyllabicCategory.

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::{maps, IndicSyllabicCategory};

assert_eq!(maps::indic_syllabic_category().get('a'), IndicSyllabicCategory::Other);
assert_eq!(maps::indic_syllabic_category().get32(0x0900), IndicSyllabicCategory::Bindu); // U+0900: DEVANAGARI SIGN INVERTED CANDRABINDU