Struct EmojiPresentation

struct EmojiPresentation

Characters that have emoji presentation by default.

Example

use icu::properties::CodePointSetData;
use icu::properties::props::EmojiPresentation;

let emoji_presentation = CodePointSetData::new::<EmojiPresentation>();

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

Implementations

impl BinaryProperty for EmojiPresentation

impl Debug for EmojiPresentation

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for EmojiPresentation

impl RefUnwindSafe for EmojiPresentation

impl Send for EmojiPresentation

impl Sync for EmojiPresentation

impl Unpin for EmojiPresentation

impl UnsafeUnpin for EmojiPresentation

impl UnwindSafe for EmojiPresentation

impl<T> Any for EmojiPresentation

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EmojiPresentation

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for EmojiPresentation

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> ErasedDestructor for EmojiPresentation

impl<T> From for EmojiPresentation

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for EmojiPresentation

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for EmojiPresentation

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for EmojiPresentation

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>