Struct orbtk::color::Color [] [src]

pub struct Color {
    pub data: u32,
}

A color

Fields

Methods

impl Color
[src]

Create a new color from RGB

Set the alpha

Create a new black color

Create a new white color

Create a new gray color

Trait Implementations

impl Copy for Color
[src]

impl Clone for Color
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more