Derive PartialEq for Rgb type (#56)
This commit is contained in:
parent
5085815f58
commit
654db645cb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue