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
Red gem or socket, associated with Strength.
Green
Green gem or socket, associated with Dexterity.
Blue
Blue gem or socket, associated with Intelligence.
White
White gem or socket (not associated with any stat)
Trait Implementations
impl Clone for Color
[src]
fn clone(&self) -> Color
[src]
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 Copy for Color
[src]
impl Debug for Color
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Color
[src]
impl Hash for Color
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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