Struct Emoji

struct Emoji

Characters that are emoji.

Example

use icu::properties::CodePointSetData;
use icu::properties::props::Emoji;

let emoji = CodePointSetData::new::<Emoji>();

assert!(emoji.contains('🔥'));  // U+1F525 FIRE
assert!(!emoji.contains('V'));

Implementations

impl BinaryProperty for Emoji

impl Debug for Emoji

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

impl Freeze for Emoji

impl RefUnwindSafe for Emoji

impl Send for Emoji

impl Sync for Emoji

impl Unpin for Emoji

impl UnsafeUnpin for Emoji

impl UnwindSafe for Emoji

impl<T> Any for Emoji

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Emoji

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

impl<T> BorrowMut for Emoji

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

impl<T> ErasedDestructor for Emoji

impl<T> From for Emoji

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Emoji

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 Emoji

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

impl<T, U> TryInto for Emoji

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