Struct axle::Color [] [src]

pub struct Color {
    pub r: u8,
    pub g: u8,
    pub b: u8,
    pub a: u8,
}

Fields

Methods

impl Color
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

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

[src]

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

[src]

This method tests for !=.

impl Debug for Color
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Color
[src]

impl From<SDL_Color> for Color
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl Rand for Color
[src]

[src]

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

Auto Trait Implementations

impl Send for Color

impl Sync for Color