Enum plutchik::Emotion [] [src]

pub enum Emotion {
    Ecstasy,
    Joy,
    Serenity,
    Love,
    Admiration,
    Trust,
    Acceptance,
    Submission,
    Terror,
    Fear,
    Apprehension,
    Awe,
    Amazement,
    Surprise,
    Distraction,
    Disapproval,
    Grief,
    Sadness,
    Pensiveness,
    Remorse,
    Loathing,
    Disgust,
    Boredom,
    Contempt,
    Rage,
    Anger,
    Annoyance,
    Aggressiveness,
    Vigilance,
    Anticipation,
    Interest,
    Optimism,
}

Each of the emotions portrayed on Plutchik's emotion wheel.

Variants

Methods from Deref<Target = Wheel>

Compare two Wheels and return the result as a difference weight where 0 is the minimum distance and 1 is the maximum. Determine the difference as the magnitude of the vector that separates both points on the wheel.

Return the closest matching Emotion variant to the current state of the Wheel.

Return the closest n number of emotions to the current state of the wheel.

Return the wheel's opposite.

Trait Implementations

impl Copy for Emotion
[src]

impl Clone for Emotion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Emotion
[src]

Formats the value using the given formatter.

impl PartialEq for Emotion
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Emotion
[src]

impl Hash for Emotion
[src]

Feeds this value into the given [Hasher]. Read more

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

impl Deref for Emotion
[src]

The resulting type after dereferencing

The method called to dereference a value

impl Rand for Emotion
[src]

Generates a random instance of this type using the specified source of randomness. Read more