diff --git a/src/style/content_style.rs b/src/style/content_style.rs index be472e2..41d52b4 100644 --- a/src/style/content_style.rs +++ b/src/style/content_style.rs @@ -5,7 +5,7 @@ use std::fmt::Display; use crate::style::{Attribute, Attributes, Color, StyledContent}; /// The style that can be put on content. -#[derive(Debug, Copy, Clone, Default)] +#[derive(Debug, Copy, Clone, Default, PartialEq, Eq)] pub struct ContentStyle { /// The foreground color. pub foreground_color: Option,