Expand description
§UNIC — Unicode Character Database
A component of unic
: Unicode and Internationalization Crates for Rust.
This UNIC component provides access to character properties as defined in the Unicode Standard Annex #44 - Unicode Character Database.
Re-exports§
pub use unic_ucd_common as common;
pub use unic_ucd_version as version;
pub use unic_ucd_age as age;
pub use unic_ucd_bidi as bidi;
pub use unic_ucd_block as block;
pub use unic_ucd_case as case;
pub use unic_ucd_category as category;
pub use unic_ucd_hangul as hangul;
pub use unic_ucd_ident as ident;
pub use unic_ucd_name as name;
pub use unic_ucd_name_aliases as name_aliases;
pub use unic_ucd_normal as normal;
pub use unic_ucd_segment as segment;
Modules§
- changes_
when_ casefolded - Unicode
Changes_When_Casefolded
Character Property. - changes_
when_ casemapped - Unicode
Changes_When_Casemapped
Character Property. - changes_
when_ lowercased - Unicode
Changes_When_Lowercased
Character Property. - changes_
when_ titlecased - Unicode
Changes_When_Titlecased
Character Property. - changes_
when_ uppercased - Unicode
Changes_When_Uppercased
Character Property.
Structs§
- Age
- Represents values of the Unicode character property Age.
- Alphabetic
- Represents values of the Unicode character property Alphabetic.
- Block
- A Unicode Block.
- Block
Iter - Iterator for all assigned Unicode Blocks, except:
- Canonical
Combining Class - Represents
Canonical_Combining_Class
property of a Unicode character. - Case
Ignorable - Represents values of the Unicode character property
Case_Ignorable
. - Cased
- Represents values of the Unicode character property
Cased
. - Changes
When Casefolded - Represents values of the Unicode character property
Changes_When_Casefolded
. - Changes
When Casemapped - Represents values of the Unicode character property
Changes_When_Casemapped
. - Changes
When Lowercased - Represents values of the Unicode character property
Changes_When_Lowercased
. - Changes
When Titlecased - Represents values of the Unicode character property
Changes_When_Titlecased
. - Changes
When Uppercased - Represents values of the Unicode character property
Changes_When_Uppercased
. - Lowercase
- Represents values of the Unicode character property
Lowercase
. - Unicode
Version - Represents a Unicode Version type.
- Uppercase
- Represents values of the Unicode character property
Uppercase
. - White
Space - Represents values of the Unicode character property White_Space.
Enums§
- Bidi
Class - Represents the Unicode character
Bidi_Class
property, also known as the bidirectional character type. - General
Category - Represents the Unicode Character
General_Category
property. - Grapheme
Cluster Break - Represents the Unicode character
Grapheme_Cluster_Break
property. - Name
- Represents values of the Unicode character property Name.
- Name
Alias Type - Types of Unicode Name Aliases
- Sentence
Break - Represents the Unicode character
Sentence_Break
property. - Word
Break - Represents the Unicode character
Word_Break
property.
Constants§
- PKG_
DESCRIPTION - UNIC component description.
- PKG_
NAME - UNIC component name.
- PKG_
VERSION - UNIC component version.
- UNICODE_
VERSION - The Unicode version of data The Version of The Unicode Standard of the Unicode Character Database in use.
Traits§
- CharAge
- Methods for character age property.
- Char
Bidi Class - Methods for
Bidi_Class
character property. - StrBidi
Class - Methods for
Bidi_Class
character properties of string types.
Functions§
- changes_
when_ casefolded - Return
true
for characters that change when casefolded,false
otherwise. - changes_
when_ casemapped - Return
true
for characters that change when casemapped,false
otherwise. - changes_
when_ lowercased - Return
true
for characters that change when lowercased,false
otherwise. - changes_
when_ titlecased - Return
true
for characters that change when titlecased,false
otherwise. - changes_
when_ uppercased - Return
true
for characters that change when uppercased,false
otherwise. - is_
alphabetic - Return
true
for Alphabetic characters,false
otherwise. - is_
bidi_ mirrored - Return
true
if the character is a “mirrored” character in bidirectional context,false
otherwise. - is_
case_ ignorable - Return
true
for case-ignorable character,false
otherwise. - is_
cased - Return
true
for cased character,false
otherwise. - is_
lowercase - Return
true
for lowercase character,false
otherwise. - is_
uppercase - Return
true
for uppercase character,false
otherwise. - is_
white_ space - Return
true
for white-space characters,false
otherwise. - name_
aliases_ of - Find Name Aliases for the given character with the specified type