Skip to content

Commit

Permalink
derive eq and copy for Color
Browse files Browse the repository at this point in the history
  • Loading branch information
ScanMountGoat committed Mar 6, 2023
1 parent 57a7aa8 commit a60fc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fn keywords(i: &[u8]) -> IResult<&[u8], Command> {
}

/// RGB color in sRGB color space.
#[derive(Debug, PartialEq, Clone)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Color {
pub red: u8,
pub green: u8,
Expand Down

0 comments on commit a60fc50

Please sign in to comment.