Enum editeur::emotion::Emotion
[−]
[src]
#[repr(u32)]pub enum Emotion { None, Angry, Happy, Love, Malicious, Misunderstanding, Shocked, Sleepy, Speechless, }
Variants
None
Symbol '_'.
Angry
Symbol 'a'.
Happy
Symbol 'h'.
Love
Symbol 'l'.
Malicious
Symbol 'm'.
Misunderstanding
Symbol 'i'.
Shocked
Symbol 'o'.
Sleepy
Symbol 's'.
Speechless
Symbol 'e'.
Methods
impl Emotion
[src]
fn new(content: &str) -> Result<Self>
fn is_none(&self) -> bool
The accessor method is_none
returns a boolean
for None, axiom of emotion.
fn not_empty(&self) -> Option<&Emotion>
Trait Implementations
impl Clone for Emotion
[src]
fn clone(&self) -> Emotion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Emotion
[src]
impl Eq for Emotion
[src]
impl PartialEq for Emotion
[src]
fn eq(&self, __arg_0: &Emotion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Hash for Emotion
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.