Crate ucd_util

source ·
Expand description

The ucd-util crate contains a smattering of utility functions that implement various algorithms specified by Unicode. There is no specific goal for exhaustiveness. Instead, implementations should be added on an as-needed basis.

A current design constraint of this crate is that it should not bring in any large Unicode tables. For example, to use the various property name and value canonicalization functions, you’ll need to supply your own table, which can be generated using ucd-generate.

Constants

A set of ranges that corresponds to the set of all Hangul syllable codepoints.
A set of ranges that corresponds to the set of all ideograph codepoints.

Functions

Find the canonical property name for the given normalized property name.
Find the canonical property value for the given normalized property value.
Normalize the given character name in place according to UAX44-LM2.
Return the full canonical decomposition of the given precomposed Hangul codepoint.
Return the character name of the given precomposed Hangul codepoint.
Return the character name of the given ideograph codepoint.
Find the set of possible property values for a given property.
Normalize the given symbolic name in place according to UAX44-LM3.

Type Definitions

The type of a property name table.
Type of a property value table.
A mapping of property values for a specific property.