Crate unic_ucd

Source
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.
BlockIter
Iterator for all assigned Unicode Blocks, except:
CanonicalCombiningClass
Represents Canonical_Combining_Class property of a Unicode character.
CaseIgnorable
Represents values of the Unicode character property Case_Ignorable.
Cased
Represents values of the Unicode character property Cased.
ChangesWhenCasefolded
Represents values of the Unicode character property Changes_When_Casefolded.
ChangesWhenCasemapped
Represents values of the Unicode character property Changes_When_Casemapped.
ChangesWhenLowercased
Represents values of the Unicode character property Changes_When_Lowercased.
ChangesWhenTitlecased
Represents values of the Unicode character property Changes_When_Titlecased.
ChangesWhenUppercased
Represents values of the Unicode character property Changes_When_Uppercased.
Lowercase
Represents values of the Unicode character property Lowercase.
UnicodeVersion
Represents a Unicode Version type.
Uppercase
Represents values of the Unicode character property Uppercase.
WhiteSpace
Represents values of the Unicode character property White_Space.

Enums§

BidiClass
Represents the Unicode character Bidi_Class property, also known as the bidirectional character type.
GeneralCategory
Represents the Unicode Character General_Category property.
GraphemeClusterBreak
Represents the Unicode character Grapheme_Cluster_Break property.
Name
Represents values of the Unicode character property Name.
NameAliasType
Types of Unicode Name Aliases
SentenceBreak
Represents the Unicode character Sentence_Break property.
WordBreak
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.
CharBidiClass
Methods for Bidi_Class character property.
StrBidiClass
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