Derive PartialEq for Rgb type (#56)

This commit is contained in:
Jordan MacDonald 2016-10-22 02:40:06 -04:00 committed by ticki
parent 5085815f58
commit 654db645cb
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ impl Color for AnsiValue {
}
/// A truecolor RGB.
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Rgb(pub u8, pub u8, pub u8);
impl Color for Rgb {