Crate unicode_canonical_combining_class

Source
Expand description

Look up the canonical combining class for a character.

§Example

use unicode_canonical_combining_class::{get_canonical_combining_class, CanonicalCombiningClass};

assert_eq!(get_canonical_combining_class('ཱ'), CanonicalCombiningClass::CCC129);

Enums§

CanonicalCombiningClass

Constants§

UNICODE_VERSION
The version of Unicode that this version of unicode-joining-type was generated from.

Functions§

get_canonical_combining_class
Look up the canonical combining class for a character.
get_canonical_combining_class_u32
Look up the canonical combining class for the character represented by a u32 value. If there is no such character, the default combining class, NotReordered (== 0), will be returned.