Enum unicode_properties::EmojiStatus
source · #[non_exhaustive]pub enum EmojiStatus {
NonEmoji,
NonEmojiButEmojiComponent,
EmojiPresentation,
EmojiModifierBase,
EmojiPresentationAndModifierBase,
EmojiOther,
EmojiPresentationAndEmojiComponent,
EmojiPresentationAndModifierAndEmojiComponent,
EmojiOtherAndEmojiComponent,
}
Expand description
The emoji character properties of a character.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NonEmoji
Emoji=NO
, Emoji_Component=NO
NonEmojiButEmojiComponent
Emoji=NO
, Emoji_Component=YES
EmojiPresentation
Emoji=YES
, Emoji_Component=NO
;Emoji_Presentation=YES
EmojiModifierBase
Emoji=YES
, Emoji_Component=NO
;Emoji_Modifier_Base=YES
EmojiPresentationAndModifierBase
Emoji=YES
, Emoji_Component=NO
;Emoji_Presentation=YES
, Emoji_Modifier_Base=YES
EmojiOther
Emoji=YES
, Emoji_Component=NO
EmojiPresentationAndEmojiComponent
Emoji=YES
, Emoji_Component=YES
;Emoji_Presentation=YES
EmojiPresentationAndModifierAndEmojiComponent
Emoji=YES
, Emoji_Component=YES
;Emoji_Presentation=YES
, Emoji_Modifier=YES
EmojiOtherAndEmojiComponent
Emoji=YES
, Emoji_Component=YES
Trait Implementations§
source§impl Clone for EmojiStatus
impl Clone for EmojiStatus
source§fn clone(&self) -> EmojiStatus
fn clone(&self) -> EmojiStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EmojiStatus
impl Debug for EmojiStatus
source§impl Hash for EmojiStatus
impl Hash for EmojiStatus
source§impl Ord for EmojiStatus
impl Ord for EmojiStatus
source§fn cmp(&self, other: &EmojiStatus) -> Ordering
fn cmp(&self, other: &EmojiStatus) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EmojiStatus
impl PartialEq for EmojiStatus
source§fn eq(&self, other: &EmojiStatus) -> bool
fn eq(&self, other: &EmojiStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EmojiStatus
impl PartialOrd for EmojiStatus
source§fn partial_cmp(&self, other: &EmojiStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &EmojiStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EmojiStatus
impl Eq for EmojiStatus
impl StructuralPartialEq for EmojiStatus
Auto Trait Implementations§
impl Freeze for EmojiStatus
impl RefUnwindSafe for EmojiStatus
impl Send for EmojiStatus
impl Sync for EmojiStatus
impl Unpin for EmojiStatus
impl UnwindSafe for EmojiStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more