Struct glw::color::Color [−][src]
A basic struct to hold color RGBA_UINT color data
Fields
r: u8
g: u8
b: u8
a: u8
Methods
impl Color
[src]
impl Color
Trait Implementations
impl Clone for Color
[src]
impl Clone for Color
fn clone(&self) -> Color
[src]
fn clone(&self) -> Color
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Color
[src]
impl Default for Color
impl Add for Color
[src]
impl Add for Color
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Color) -> Self
[src]
fn add(self, rhs: Color) -> Self
Performs the +
operation.
impl Mul for Color
[src]
impl Mul for Color