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