Skip to content

Commit 7652a5a

Browse files
Merge pull request #6 from no111u3/type_fix
Add attributes to White structure for compatible with rgb library
2 parents 3c80adc + 686e32f commit 7652a5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
pub use {rgb::RGB, rgb::RGB16, rgb::RGB8, rgb::RGBA};
1616

17+
#[derive(Copy, Clone, Debug, Default, Eq, PartialEq, Ord, PartialOrd, Hash)]
1718
pub struct White<C>(pub C);
1819

1920
/// The RGBW Pixel

0 commit comments

Comments
 (0)