icu_locale_core/preferences/extensions/unicode/keywords/
sentence_supression.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
5#[cfg(feature = "alloc")]
6use crate::preferences::extensions::unicode::enum_keyword;
7
8#[cfg(feature = "alloc")]
9enum_keyword!(
10    /// A Unicode Sentence Break Suppressions Identifier defines a set of data to be used for suppressing certain
11    /// sentence breaks that would otherwise be found by UAX #14 rules.
12    ///
13    /// The valid values are listed in [LDML](https://unicode.org/reports/tr35/#UnicodeSentenceBreakSuppressionsIdentifier).
14    [Default]
15    SentenceBreakSupressions {
16        /// Don’t use sentence break suppressions data (the default)
17        [default]
18        ("none" => None),
19        /// Use sentence break suppressions data of type "standard"
20        ("standard" => Standard),
21}, "ss");