icu_properties::maps

Function joining_type

Source
pub const fn joining_type() -> CodePointMapDataBorrowed<'static, JoiningType>
Expand description

Return a CodePointMapDataBorrowed for the Joining_Type Unicode enumerated property. See JoiningType.

โœจ Enabled with the compiled_data Cargo feature.

๐Ÿ“š Help choosing a constructor

ยงExample

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

assert_eq!(maps::joining_type().get('ุ '), JoiningType::DualJoining); // U+0620: Arabic Letter Kashmiri Yeh
assert_eq!(maps::joining_type().get('๐ซ'), JoiningType::LeftJoining); // U+10ACD: Manichaean Letter Heth