diff --git a/src/lib.rs b/src/lib.rs index 2a07a48..683be88 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ pub use text_render::TextRenderer; /// The color to use when rendering text. #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct Color { /// The red component of the color. pub r: u8,