Expand description
A collection of property definitions shared across contexts (ex: representing trie values).
This module defines enums / newtypes for enumerated properties. String properties are represented as newtypes if their values represent code points.
Macros§
- create_
const_ 🔒array - See [
test_enumerated_property_completeness
] for usage. Example input: - impl_
value_ 🔒getter
Structs§
- Bidi
Class - Enumerated property Bidi_Class
- Bidi
ClassULE ULE
type forBidiClass
- Canonical
Combining Class - Property Canonical_Combining_Class. See UAX #15: https://www.unicode.org/reports/tr15/.
- Canonical
Combining ClassULE ULE
type forCanonicalCombiningClass
- East
Asian Width - Enumerated property East_Asian_Width.
- East
Asian WidthULE ULE
type forEastAsianWidth
- Erased
Enum 🔒ToValue Name Linear MapV1 Marker - Private marker type for PropertyEnumToValueNameLinearMapper to work for all properties at once
- Erased
Enum 🔒ToValue Name Linear Tiny4 MapV1 Marker - Private marker type for PropertyEnumToValueNameLinearTiny4Mapper to work for all properties at once
- Erased
Enum 🔒ToValue Name Sparse MapV1 Marker - Private marker type for PropertyEnumToValueNameSparseMapper to work for all properties at once
- Erased
Name 🔒ToEnum MapV1 Marker - Private marker type for PropertyValueNameToEnumMapper to work for all properties at once
- General
Category Group - Groupings of multiple General_Category property values.
- General
Category TryFrom Error - General
CategoryULE ULE
type for GeneralCategory- Grapheme
Cluster Break - Enumerated property Grapheme_Cluster_Break.
- Grapheme
Cluster BreakULE ULE
type forGraphemeClusterBreak
- Hangul
Syllable Type - Enumerated property Hangul_Syllable_Type
- Hangul
Syllable TypeULE ULE
type forHangulSyllableType
- Indic
Syllabic Category - Property Indic_Syllabic_Category. See UAX #44: https://www.unicode.org/reports/tr44/#Indic_Syllabic_Category.
- Indic
Syllabic CategoryULE ULE
type forIndicSyllabicCategory
- Joining
Type - Enumerated property Joining_Type. See Section 9.2, Arabic Cursive Joining in The Unicode Standard for the summary of each property value.
- Joining
TypeULE ULE
type forJoiningType
- Line
Break - Enumerated property Line_Break.
- Line
BreakULE ULE
type forLineBreak
- Property
Enum ToValue Name Linear Mapper - A struct capable of looking up a property name from a value
Access its data by calling
Self::as_borrowed()
and using the methods onPropertyEnumToValueNameLinearMapperBorrowed
. - Property
Enum ToValue Name Linear Mapper Borrowed - A borrowed wrapper around property value name-to-enum data, returned by
PropertyEnumToValueNameLinearMapper::as_borrowed()
. More efficient to query. - Property
Enum ToValue Name Linear Tiny4 Mapper - A struct capable of looking up a property name from a value
Access its data by calling
Self::as_borrowed()
and using the methods onPropertyEnumToValueNameLinearTiny4MapperBorrowed
. - Property
Enum ToValue Name Linear Tiny4 Mapper Borrowed - A borrowed wrapper around property value name-to-enum data, returned by
PropertyEnumToValueNameLinearTiny4Mapper::as_borrowed()
. More efficient to query. - Property
Enum ToValue Name Sparse Mapper - A struct capable of looking up a property name from a value
Access its data by calling
Self::as_borrowed()
and using the methods onPropertyEnumToValueNameSparseMapperBorrowed
. - Property
Enum ToValue Name Sparse Mapper Borrowed - A borrowed wrapper around property value name-to-enum data, returned by
PropertyEnumToValueNameSparseMapper::as_borrowed()
. More efficient to query. - Property
Value Name ToEnum Mapper - A struct capable of looking up a property value from a string name.
Access its data by calling
Self::as_borrowed()
and using the methods onPropertyValueNameToEnumMapperBorrowed
. - Property
Value Name ToEnum Mapper Borrowed - A borrowed wrapper around property value name-to-enum data, returned by
PropertyValueNameToEnumMapper::as_borrowed()
. More efficient to query. - Script
- Enumerated property Script.
- ScriptULE
ULE
type forScript
- Sentence
Break - Enumerated property Sentence_Break. See “Default Sentence Boundary Specification” in UAX #29 for the summary of each property value: https://www.unicode.org/reports/tr29/#Default_Word_Boundaries.
- Sentence
BreakULE ULE
type forSentenceBreak
- Word
Break - Enumerated property Word_Break.
- Word
BreakULE ULE
type forWordBreak
Enums§
- General
Category - Enumerated property General_Category.
Functions§
- get_
loose_ 🔒u16 - Avoid monomorphizing multiple copies of this function
- get_
strict_ 🔒u16 - Avoid monomorphizing multiple copies of this function