Struct EmojiComponent

struct EmojiComponent

Characters used in emoji sequences that normally do not appear on emoji keyboards as separate choices, such as base characters for emoji keycaps.

Example

use icu::properties::CodePointSetData;
use icu::properties::props::EmojiComponent;

let emoji_component = CodePointSetData::new::<EmojiComponent>();

assert!(emoji_component.contains('🇹'));  // U+1F1F9 REGIONAL INDICATOR SYMBOL LETTER T
assert!(emoji_component.contains('\u{20E3}'));  // COMBINING ENCLOSING KEYCAP
assert!(emoji_component.contains('7'));
assert!(!emoji_component.contains('T'));

Implementations

impl BinaryProperty for EmojiComponent

impl Debug for EmojiComponent

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

impl Freeze for EmojiComponent

impl RefUnwindSafe for EmojiComponent

impl Send for EmojiComponent

impl Sync for EmojiComponent

impl Unpin for EmojiComponent

impl UnsafeUnpin for EmojiComponent

impl UnwindSafe for EmojiComponent

impl<T> Any for EmojiComponent

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EmojiComponent

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

impl<T> BorrowMut for EmojiComponent

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

impl<T> ErasedDestructor for EmojiComponent

impl<T> From for EmojiComponent

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for EmojiComponent

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 EmojiComponent

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

impl<T, U> TryInto for EmojiComponent

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