Enum ezomyte::Color [] [src]

pub enum Color {
    Red,
    Green,
    Blue,
    White,
}

A color of an gem or socket.

In PoE, a color is also associated with a particular main stat, like Strength or Dexterity.

Note: Although it does appear as such in the API, "abyss" is not really a socket color, and it is not included here. See ItemSockets::abyssal_count for the number of abyssal sockets an item has.

Variants

Red gem or socket, associated with Strength.

Green gem or socket, associated with Dexterity.

Blue gem or socket, associated with Intelligence.

White gem or socket (not associated with any stat)

Trait Implementations

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Color
[src]

impl Debug for Color
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Color
[src]

impl Hash for Color
[src]

[src]

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 Color
[src]

[src]

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 !=.

Auto Trait Implementations

impl Send for Color

impl Sync for Color