Enum ezomyte::Rarity []

pub enum Rarity {
    Normal,
    Magic,
    Rare,
    Unique,
}

Rarity of an item.

Variants

Normal ("white") item.

This also includes items which aren't gear, like gems or divination cards.

Magic ("blue") item.

Rare ("yellow") item.

Unique item.

Methods

impl Rarity

Trait Implementations

impl Clone for Rarity

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Rarity

impl Debug for Rarity

Formats the value using the given formatter. Read more

impl Eq for Rarity

impl Hash for Rarity

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

1.3.0
[src]

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

impl PartialEq for Rarity

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

1.0.0
[src]

This method tests for !=.

impl Default for Rarity
[src]

[src]

Returns the "default value" for a type. Read more

impl<'de> Deserialize<'de> for Rarity
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Rarity

impl Sync for Rarity