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

Modules§

rules
🚧 [Unstable] APIs and Data Structures for Plural Rules

Structs§

Baked
Baked data
FourBitMetadata
Four bits of metadata that are stored and retrieved with the plural elements.
PluralElementsPackedCow
A sized packed PluralElements suitable for use in data structs.
PluralElementsPackedULE
A bitpacked DST for PluralElements.
PluralRulesData
Plural rule strings conforming to UTS 35 syntax. Includes separate fields for five of the six standard plural forms. If none of the rules match, the “other” category is assumed.
PluralsCardinalV1
Data for cardinal classification
PluralsOrdinalV1
Data for ordinal classification