Struct glw::color::Color[][src]

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

A basic struct to hold color RGBA_UINT color data

Fields

Methods

impl Color
[src]

Trait Implementations

impl Clone for Color
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Color
[src]

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

impl Add for Color
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Mul for Color
[src]

The resulting type after applying the * operator.

Performs the * operation.

Auto Trait Implementations

impl Send for Color

impl Sync for Color