icu_locale_core/preferences/extensions/unicode/keywords/
variant.rs

1// This file is part of ICU4X. For terms of use, please see the file
2// called LICENSE at the top level of the ICU4X source tree
3// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4
5use crate::preferences::extensions::unicode::enum_keyword;
6
7enum_keyword!(
8    /// A Unicode Variant Identifier defines a special variant used for locales.
9    ///
10    /// The valid values are listed in [LDML](https://unicode.org/reports/tr35/#UnicodeVariantIdentifier).
11    CommonVariantType {
12        /// POSIX style locale variant
13        ("posix" => Posix),
14}, "va");