[][src]Module locale_types::id

Provides a single trait that describes common structure for local identifiers.

A locale identifier is comprised of, at least, the following components:

  1. a language identifier, ...
  2. a territory, or country, identifier, ...
  3. a code_set, or charset, identifier, ...
  4. a territory, or country, identifier, ...
  5. a modifier string (commonly used to identify the script) ...

Traits

LocaleIdentifier

Common trait for different kinds of locale identifier.