Crate locale-types
This crate provides a Locale
enumeration, LocaleIdentifier
trait, and a
LocaleString
structure are provided that may be used to parse and construct
locale identifiers in a standards-conformant manner.
It is used by the locale-codes
and locale-settings
crates.
Example
use ;
let locale = new
.with_territory
.with_code_set
.with_modifier;
println!;
History
- 0.1.0 - extracted from simple-locale.