Struct sdl2_sys::pixels::SDL_Color
[−]
[src]
pub struct SDL_Color { pub r: uint8_t, pub g: uint8_t, pub b: uint8_t, pub a: uint8_t, }
Fields
r: uint8_t
g: uint8_t
b: uint8_t
a: uint8_t
Trait Implementations
impl Clone for SDL_Color
[src]
fn clone(&self) -> SDL_Color
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more