[][src]Module unic_locale::extensions

Unicode Extensions provide a mechanism to extend the LanguageIdentifier with additional bits of information.

There are four types of extensions:

  • Unicode Extensions - marked as u.
  • Transform Extensions - marked as t.
  • Private Use Extensions - marked as x.
  • Other extensions - marked as any a-z except of u, t and x.

Structs

ExtensionsMap

A map of extensions associated with a given `Locale.

PrivateExtensionList

A list of Unicode Private Extensions as defined in Unicode Locale Identifier specification.

TransformExtensionList

A list of Unicode BCP47 T Extensions as defined in Unicode Locale Identifier specification.

UnicodeExtensionList

A list of Unicode BCP47 U Extensions as defined in Unicode Locale Identifier specification.

Enums

ExtensionType

Defines the type of extension.