Crate icu_displaynames

Crate icu_displaynames 

Source
Expand description

🚧 [Experimental] Display names for languages and regions.

This module is published as its own crate (icu_displaynames) and as part of the icu crate. See the latter for more details on the ICU4X project.

🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways, including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature of the icu meta-crate. Use with caution.

Modules§

provider
Data provider struct definitions for this ICU4X component.

Structs§

DisplayNamesOptions
A bag of options defining how region or language codes will be translated.
LanguageDisplayNames
Lookup of the locale-specific display names by language code.
LocaleDisplayNamesFormatter
Format a locale as a display string.
RegionDisplayNames
Lookup of the locale-specific display names by region code.
ScriptDisplayNames
Lookup of the locale-specific display names by script code.
VariantDisplayNames
Lookup of the locale-specific display names by variant.

Enums§

Fallback
An enum for fallback return when the system does not have the requested display name.
LanguageDisplay
An enum for the language display kind.
Style
An enum for formatting style.