diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -7,8 +7,6 @@ pub struct Colour { } impl Colour { - pub const TRANSPARENT: Self = Self::rgba(0x00000000); - pub const fn rgb(value: u32) -> Self { Self { value: value | 0xff000000, @@ -106,6 +104,7 @@ impl Colour { } impl Colour { + pub const TRANSPARENT: Self = Self::rgba(0x00000000); pub const WHITE: Self = Self::rgb(0xffffff); pub const BLACK: Self = Self::rgb(0x000000); |