Crate icu_locale
source ·Expand description
This crate is the future location of the contents of icu_locid and icu_locid_transform for ICU4X 2.0 (slated for mid-2024).
It currently reexports icu_locid
.
Modules§
- Unicode Extensions provide a mechanism to extend the
LanguageIdentifier
with additional bits of information - a combination of aLanguageIdentifier
andExtensions
is calledLocale
. - Language Identifier and Locale contains a set of subtags which represent different fields of the structure.
- Documentation on zero-copy deserialization of locale types.
Macros§
- A macro allowing for compile-time construction of valid
LanguageIdentifier
s. - A macro allowing for compile-time construction of valid
Locale
s.
Structs§
- A core struct representing a
Unicode BCP47 Language Identifier
. - A core struct representing a
Unicode Locale Identifier
.
Enums§
- List of parser errors that can be generated while parsing
LanguageIdentifier
,Locale
,subtags
orextensions
. - List of parser errors that can be generated while parsing
LanguageIdentifier
,Locale
,subtags
orextensions
. - The result of a subtag iterator comparison operation.