Enum ggez::graphics::Color []

pub enum Color {
    RGB(u8u8u8),
    RGBA(u8u8u8u8),
}

Variants

Methods

impl Color

Trait Implementations

impl Eq for Color

impl Hash for Color

impl Debug for Color

Formats the value using the given formatter.

impl PartialEq<Color> for Color

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

This method tests for !=.

impl Copy for Color

impl Clone for Color

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Rand for Color