Skip to content

Commit 686e32f

Browse files
committed
Add attributes to White structure for compatible with rgb library
1 parent 3c80adc commit 686e32f

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)