Struct unic_emoji_char::EmojiPresentation
[−]
pub struct EmojiPresentation(_);
Represents values of the Unicode character property Emoji_Presentation.
The value is true
for characters that have emoji presentation by default.
Methods
impl EmojiPresentation
fn of(ch: char) -> Self
Get (struct) property value of the character.
fn as_bool(&self) -> bool
Get boolean property value of the character.
Trait Implementations
impl Copy for EmojiPresentation
impl Clone for EmojiPresentation
fn clone(&self) -> EmojiPresentation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EmojiPresentation
impl Default for EmojiPresentation
fn default() -> EmojiPresentation
Returns the "default value" for a type. Read more
impl Eq for EmojiPresentation
impl PartialEq for EmojiPresentation
fn eq(&self, __arg_0: &EmojiPresentation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EmojiPresentation) -> bool
This method tests for !=
.
impl Hash for EmojiPresentation
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl FromStr for EmojiPresentation
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl CharProperty for EmojiPresentation
fn prop_abbr_name() -> &'static str
The abbreviated name of the property.
fn prop_long_name() -> &'static str
The long name of the property.
fn prop_human_name() -> &'static str
The human-readable name of the property.
impl TotalCharProperty for EmojiPresentation
impl BinaryCharProperty for EmojiPresentation
fn as_bool(&self) -> bool
The boolean value of the property value.
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.