Crate unicode_ccc[][src]

Expand description

This library implements Unicode Canonical Combining Class detection.

use unicode_ccc::*;

assert_eq!(get_canonical_combining_class('A'), CanonicalCombiningClass::NotReordered);
assert_eq!(get_canonical_combining_class('\u{0A3C}'), CanonicalCombiningClass::Nukta);
assert_eq!(get_canonical_combining_class('\u{18A9}'), CanonicalCombiningClass::AboveLeft);

Enums

CanonicalCombiningClass

Character Canonical Combining Class.

Constants

UNICODE_VERSION

The Unicode version.

Functions

get_canonical_combining_class

Returns a Canonical Combining Class of a character.