Skip to main content

Module provider

Module provider 

Source
Expand description

🚧 [Unstable] Data provider struct definitions for this ICU4X component.

🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways, including in SemVer minor releases. While the serde representation of data structs is guaranteed to be stable, their Rust representation might not be. Use with caution.

Read more about data providers: icu_provider

StructsΒ§

Baked
Baked data
CollationData
The main collation data either for the root or for a tailoring
CollationDiacritics
Secondary weights for the start of the Combining Diacritics block.
CollationDiacriticsV1
Data marker for collation diacritics data.
CollationJamo
CollationElement32s for the Hangul Jamo Unicode Block
CollationJamoV1
Data marker for collation jamo data.
CollationMetadata
Each non-alias collation that the data provider knows about explicitly has an data entry at least for this struct.
CollationMetadataV1
Data marker for collation metadata.
CollationReordering
Script reordering data
CollationReorderingV1
Data marker for collation reordering data.
CollationRootV1
Data marker for singleton root collation data.
CollationSpecialPrimaries
Root-associated additional data that doesn’t change in tailorings
CollationSpecialPrimariesV1
Data marker for collcation special primaries data.
CollationSpecialPrimariesValidated πŸ”’
CollationTailoringV1
Data marker for collation tailorings.

ConstantsΒ§

SCRIPT_FALLBACK πŸ”’
SINGLE_U32 πŸ”’
SINGLE_U64 πŸ”’

FunctionsΒ§

data_ce_to_primary πŸ”’
list_locales
Lists the locale and collation keyword combinations that the collator knows about. The standard collation is represented as the empty string. The root collation is represented as und. Chinese collations are listed as und-Hani with und-Hant and und-Hans resolving to stroke and pinyin despite not listing the collation keyword.