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")] 6 use crate::preferences::extensions::unicode::enum_keyword; 7 8 #[cfg(feature = "alloc")] 9 enum_keyword!( 10 /// A Unicode Emoji Presentation Style Identifier 11 /// 12 /// It specifies a request for the preferred emoji 13 /// presentation style. This can be used as part of the value for an HTML lang attribute, 14 /// for example `<html lang="sr-Latn-u-em-emoji">`. 15 /// The valid values are listed in [LDML](https://unicode.org/reports/tr35/#UnicodeEmojiPresentationStyleIdentifier). 16 [Default] 17 EmojiPresentationStyle { 18 /// Use an emoji presentation for emoji characters if possible 19 ("emoji" => Emoji), 20 /// Use a text presentation for emoji characters if possible 21 ("text" => Text), 22 /// Use the default presentation for emoji characters as specified in UTR #51 Presentation Style 23 [default] 24 ("default" => Default) 25 }, "em"); 26