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§
- RANGE_
HANGUL_ SYLLABLE - A set of ranges that corresponds to the set of all Hangul syllable codepoints.
- RANGE_
IDEOGRAPH - A set of ranges that corresponds to the set of all ideograph codepoints.
Functions§
- canonical_
property_ name - Find the canonical property name for the given normalized property name.
- canonical_
property_ value - Find the canonical property value for the given normalized property value.
- character_
name_ normalize - Normalize the given character name in place according to UAX44-LM2.
- hangul_
full_ canonical_ decomposition - Return the full canonical decomposition of the given precomposed Hangul codepoint.
- hangul_
name - Return the character name of the given precomposed Hangul codepoint.
- ideograph_
name - Return the character name of the given ideograph codepoint.
- property_
values - Find the set of possible property values for a given property.
- symbolic_
name_ normalize - Normalize the given symbolic name in place according to UAX44-LM3.
Type Aliases§
- Property
Table - The type of a property name table.
- Property
Value Table - Type of a property value table.
- Property
Values - A mapping of property values for a specific property.