Function icu_properties::sets::emoji_presentation

source ·
pub const fn emoji_presentation() -> CodePointSetDataBorrowed<'static>
Expand description

Characters that have emoji presentation by default

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let emoji_presentation = sets::emoji_presentation();

assert!(emoji_presentation.contains('🦬')); // U+1F9AC BISON
assert!(!emoji_presentation.contains('♻'));  // U+267B BLACK UNIVERSAL RECYCLING SYMBOL