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
g
b
a

Trait Implementations

Derived Implementations

impl Clone for SDL_Color

fn clone(&self) -> SDL_Color

fn clone_from(&mut self, source: &Self)

impl Copy for SDL_Color