[]Struct unic_emoji_char::EmojiModifier

pub struct EmojiModifier(_);

Represents values of the Unicode character property Emoji_Modifier.

The value is true for characters that have emoji presentation by default.


impl EmojiModifier

pub fn of(ch: char) -> Self

Get (struct) property value of the character.

pub fn as_bool(&self) -> bool

Get boolean property value of the character.

Trait Implementations

impl Copy for EmojiModifier

impl PartialEq<EmojiModifier> for EmojiModifier

impl Default for EmojiModifier

impl From<EmojiModifier> for bool

impl Clone for EmojiModifier

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Eq for EmojiModifier

impl Display for EmojiModifier

impl Debug for EmojiModifier

impl Hash for EmojiModifier

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for EmojiModifier

type Err = ()

The associated error which can be returned from parsing.

impl CharProperty for EmojiModifier

impl TotalCharProperty for EmojiModifier

impl BinaryCharProperty for EmojiModifier

fn abbr_name(&self) -> &'static str[src]

The abbreviated name of the property value.

fn long_name(&self) -> &'static str[src]

The long name of the property value.

fn human_name(&self) -> &'static str[src]

The human-readable name of the property value.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> PartialCharProperty for T where
    T: TotalCharProperty