From 389e27afe0331c575b5c3679c55909de14d2269c Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 11 Nov 2023 19:34:41 -0500 Subject: [PATCH] add Copy trait to BitmaskCharacter --- ggdt/src/graphics/font.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggdt/src/graphics/font.rs b/ggdt/src/graphics/font.rs index 0fb4636..6f4368e 100644 --- a/ggdt/src/graphics/font.rs +++ b/ggdt/src/graphics/font.rs @@ -57,7 +57,7 @@ pub trait Font { PixelType: Pixel; } -#[derive(Debug, Clone, Eq, PartialEq)] +#[derive(Debug, Copy, Clone, Eq, PartialEq)] pub struct BitmaskCharacter { bytes: [u8; CHAR_HEIGHT], bounds: Rect,