Module unicode
Unicode Extensions provide information about user preferences in a given locale.
The main struct for this extension is Unicode which contains Keywords and
Attributes.
Examples
use ;
use Locale;
let loc: Locale = "en-US-u-foobar-hc-h12".parse.expect;
assert_eq!;
assert!;
Structs
-
Attribute
An attribute used in a set of
Attributes. -
Attributes
A set of
Attributeelements as defined in [Unicode Extension Attributes]. -
Key
A key used in a list of
Keywords. -
Keywords
A list of
Key-Valuepairs representing functional information about locale's internationalization preferences. -
SubdivisionId
A Subivision Id as defined in [
Unicode Locale Identifier]. -
SubdivisionSuffix
A subdivision suffix used in
SubdivisionId. - Unicode Unicode Extensions provide information about user preferences in a given locale.
-
Value
A value used in a list of
Keywords.