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,