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_CasefoldedCharacter Property. - changes_
when_ casemapped - Unicode
Changes_When_CasemappedCharacter Property. - changes_
when_ lowercased - Unicode
Changes_When_LowercasedCharacter Property. - changes_
when_ titlecased - Unicode
Changes_When_TitlecasedCharacter Property. - changes_
when_ uppercased - Unicode
Changes_When_UppercasedCharacter 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_Classproperty 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_Classproperty, also known as the bidirectional character type. - General
Category - Represents the Unicode Character
General_Categoryproperty. - Grapheme
Cluster Break - Represents the Unicode character
Grapheme_Cluster_Breakproperty. - Name
- Represents values of the Unicode character property Name.
- Name
Alias Type - Types of Unicode Name Aliases
- Sentence
Break - Represents the Unicode character
Sentence_Breakproperty. - Word
Break - Represents the Unicode character
Word_Breakproperty.
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_Classcharacter property. - StrBidi
Class - Methods for
Bidi_Classcharacter properties of string types.
Functions§
- changes_
when_ casefolded - Return
truefor characters that change when casefolded,falseotherwise. - changes_
when_ casemapped - Return
truefor characters that change when casemapped,falseotherwise. - changes_
when_ lowercased - Return
truefor characters that change when lowercased,falseotherwise. - changes_
when_ titlecased - Return
truefor characters that change when titlecased,falseotherwise. - changes_
when_ uppercased - Return
truefor characters that change when uppercased,falseotherwise. - is_
alphabetic - Return
truefor Alphabetic characters,falseotherwise. - is_
bidi_ mirrored - Return
trueif the character is a “mirrored” character in bidirectional context,falseotherwise. - is_
case_ ignorable - Return
truefor case-ignorable character,falseotherwise. - is_
cased - Return
truefor cased character,falseotherwise. - is_
lowercase - Return
truefor lowercase character,falseotherwise. - is_
uppercase - Return
truefor uppercase character,falseotherwise. - is_
white_ space - Return
truefor white-space characters,falseotherwise. - name_
aliases_ of - Find Name Aliases for the given character with the specified type