added partialeq + eq to format stuff

This commit is contained in:
wrk 2023-06-09 23:21:24 +02:00
parent bb512f4757
commit e96079ffee

View File

@ -1,4 +1,4 @@
#[derive(Clone, Copy)]
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum Format {
Bold,
Italics,
@ -23,7 +23,7 @@ impl std::fmt::Display for Format {
}
}
#[derive(Clone, Copy)]
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum Color {
White,
Black,