Function icu_properties::maps::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