Crate icu_displaynames_data

Source
Expand description

Data for the icu_displaynames crate

Macros§

impl_displaynames_languages_v1
Implement DataProvider<LanguageDisplayNamesV1Marker> on the given struct using the data hardcoded in this file. This allows the struct to be used with icu’s _unstable constructors.
impl_displaynames_locales_v1
Implement DataProvider<LocaleDisplayNamesV1Marker> on the given struct using the data hardcoded in this file. This allows the struct to be used with icu’s _unstable constructors.
impl_displaynames_regions_v1
Implement DataProvider<RegionDisplayNamesV1Marker> on the given struct using the data hardcoded in this file. This allows the struct to be used with icu’s _unstable constructors.
impl_displaynames_scripts_v1
Implement DataProvider<ScriptDisplayNamesV1Marker> on the given struct using the data hardcoded in this file. This allows the struct to be used with icu’s _unstable constructors.
impl_displaynames_variants_v1
Implement DataProvider<VariantDisplayNamesV1Marker> on the given struct using the data hardcoded in this file. This allows the struct to be used with icu’s _unstable constructors.
make_provider
Marks a type as a data provider. You can then use macros like impl_core_helloworld_v1 to add implementations.