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 |
pub struct SDL_Color { pub r: uint8_t, pub g: uint8_t, pub b: uint8_t, pub a: uint8_t, }
r | |
g | |
b | |
a |
impl Clone for SDL_Color
fn clone(&self) -> SDL_Color
fn clone_from(&mut self, source: &Self)
impl Copy for SDL_Color
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)