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§
- extensions
- Unicode Extensions provide a mechanism to extend the
LanguageIdentifier
with additional bits of information - a combination of aLanguageIdentifier
andExtensions
is calledLocale
. - subtags
- Language Identifier and Locale contains a set of subtags which represent different fields of the structure.
- zerovec
- Documentation on zero-copy deserialization of locale types.
Macros§
- langid
- A macro allowing for compile-time construction of valid
LanguageIdentifier
s. - locale
- A macro allowing for compile-time construction of valid
Locale
s.
Structs§
- Language
Identifier - A core struct representing a
Unicode BCP47 Language Identifier
. - Locale
- A core struct representing a
Unicode Locale Identifier
.
Enums§
- Error
- List of parser errors that can be generated
while parsing
LanguageIdentifier
,Locale
,subtags
orextensions
. - Parser
Error - List of parser errors that can be generated
while parsing
LanguageIdentifier
,Locale
,subtags
orextensions
. - Subtag
Ordering Result Deprecated - The result of a subtag iterator comparison operation.