icu_locid::extensions

Module other

Source
Expand description

Other Use Extensions is a list of extensions other than unicode, transform or private.

Those extensions are treated as a pass-through, and no Unicode related behavior depends on them.

The main struct for this extension is Other which is a list of Subtags.

§Examples

use icu::locid::extensions::other::Other;
use icu::locid::Locale;

let mut loc: Locale = "en-US-a-foo-faa".parse().expect("Parsing failed.");

Macros§

  • A macro allowing for compile-time construction of valid Subtag subtags.

Structs§