added partialeq + eq to format stuff
This commit is contained in:
parent
bb512f4757
commit
e96079ffee
@ -1,4 +1,4 @@
|
|||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||||
pub enum Format {
|
pub enum Format {
|
||||||
Bold,
|
Bold,
|
||||||
Italics,
|
Italics,
|
||||||
@ -23,7 +23,7 @@ impl std::fmt::Display for Format {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Copy)]
|
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||||
pub enum Color {
|
pub enum Color {
|
||||||
White,
|
White,
|
||||||
Black,
|
Black,
|
||||||
|
Loading…
Reference in New Issue
Block a user