From 66e44293de0c39e913d3106cd78b3b7950cec886 Mon Sep 17 00:00:00 2001 From: grovesNL Date: Mon, 24 Oct 2022 09:15:07 -0230 Subject: [PATCH] Add derives for `Color` --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 4eacb02..2a07a48 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,7 @@ pub use text_render::TextRenderer; /// The color to use when rendering text. #[repr(C)] +#[derive(Clone, Copy, Debug)] pub struct Color { /// The red component of the color. pub r: u8,