add Copy trait to BitmaskCharacter
This commit is contained in:
parent
053f95a929
commit
389e27afe0
|
@ -57,7 +57,7 @@ pub trait Font {
|
||||||
PixelType: Pixel;
|
PixelType: Pixel;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub struct BitmaskCharacter {
|
pub struct BitmaskCharacter {
|
||||||
bytes: [u8; CHAR_HEIGHT],
|
bytes: [u8; CHAR_HEIGHT],
|
||||||
bounds: Rect,
|
bounds: Rect,
|
||||||
|
|
Loading…
Reference in a new issue