We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02f8ad commit 99ff7a7Copy full SHA for 99ff7a7
color.rs
@@ -15,8 +15,7 @@ mod color_data;
15
pub type ColorFloat = c_float;
16
17
18
-#[deriving(Clone)]
19
-#[deriving(Eq)]
+#[deriving(Clone, Eq)]
20
pub struct RGBA {
21
// All in 0..1
22
red: ColorFloat,
@@ -25,8 +24,7 @@ pub struct RGBA {
25
24
alpha: ColorFloat,
26
}
27
28
29
30
pub enum Color {
31
CurrentColor,
32
RGBA(RGBA),
0 commit comments