mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
+1
-1
@@ -94,7 +94,7 @@ pub struct Palette {
|
||||
|
||||
impl_raw_accessors!(Palette, *const ll::SDL_Palette)
|
||||
|
||||
#[deriving(PartialEq)]
|
||||
#[deriving(PartialEq, Clone)]
|
||||
pub enum Color {
|
||||
RGB(u8, u8, u8),
|
||||
RGBA(u8, u8, u8, u8)
|
||||
|
||||
Reference in New Issue
Block a user