Module icu_properties::props
source · 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§
- See [
test_enumerated_property_completeness
] for usage. Example input:
Structs§
- Enumerated property Bidi_Class
- Property Canonical_Combining_Class. See UAX #15: https://www.unicode.org/reports/tr15/.
ULE
type forCanonicalCombiningClass
- Enumerated property East_Asian_Width.
ULE
type forEastAsianWidth
- Private marker type for PropertyEnumToValueNameLinearMapper to work for all properties at once
- Private marker type for PropertyEnumToValueNameLinearTiny4Mapper to work for all properties at once
- Private marker type for PropertyEnumToValueNameSparseMapper to work for all properties at once
- Private marker type for PropertyValueNameToEnumMapper to work for all properties at once
- Groupings of multiple General_Category property values.
ULE
type for GeneralCategory- Enumerated property Grapheme_Cluster_Break.
ULE
type forGraphemeClusterBreak
- Enumerated property Hangul_Syllable_Type
ULE
type forHangulSyllableType
- Property Indic_Syllabic_Category. See UAX #44: https://www.unicode.org/reports/tr44/#Indic_Syllabic_Category.
ULE
type forIndicSyllabicCategory
- Enumerated property Joining_Type. See Section 9.2, Arabic Cursive Joining in The Unicode Standard for the summary of each property value.
ULE
type forJoiningType
- Enumerated property Line_Break.
- 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
. - A borrowed wrapper around property value name-to-enum data, returned by
PropertyEnumToValueNameLinearMapper::as_borrowed()
. More efficient to query. - 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
. - A borrowed wrapper around property value name-to-enum data, returned by
PropertyEnumToValueNameLinearTiny4Mapper::as_borrowed()
. More efficient to query. - 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
. - A borrowed wrapper around property value name-to-enum data, returned by
PropertyEnumToValueNameSparseMapper::as_borrowed()
. More efficient to query. - 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
. - A borrowed wrapper around property value name-to-enum data, returned by
PropertyValueNameToEnumMapper::as_borrowed()
. More efficient to query. - Enumerated property Script.
- 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.
ULE
type forSentenceBreak
- Enumerated property Word_Break.
Enums§
- Enumerated property General_Category.
Functions§
- Avoid monomorphizing multiple copies of this function
- Avoid monomorphizing multiple copies of this function