[−][src]Crate unic_ucd_ident
UNIC — UCD — Identifier Properties
A component of unic
: Unicode and Internationalization Crates for Rust.
Accessor to the UCD properties used widely by UAX31 Unicode Identifier and Pattern Syntax.
Features
-
xid
(default): theXID_Start
andXID_Continue
properties. -
id
(optional): theID_Start
andID_Continue
properties. NOTE: in most cases, you should prefer using theXID
properties because they are consistent under NFKC normalization. -
pattern
(optional): thePattern_Syntax
andPattern_White_Space
properties.
Structs
XidContinue | A character that can continue an identifier, stable under NFKC. |
XidStart | A character that can start an identifier, stable under NFKC. |
Constants
PKG_DESCRIPTION | UNIC component description. |
PKG_NAME | UNIC component name. |
PKG_VERSION | UNIC component version. |
UNICODE_VERSION | The Unicode version of data |
Functions
is_xid_continue | Is this a NFKC-safe identifier continuing character? |
is_xid_start | Is this a NFKC-safe identifier starting character? |