derive clone, debug, copy

This commit is contained in:
Able 2021-11-28 21:22:49 -06:00
parent fbf52f64a9
commit 81295eb37f

View file

@ -13,6 +13,7 @@ pub const HEIGHT: usize = 400;
pub type FrameBuffer = [RGBA; WIDTH * HEIGHT]; pub type FrameBuffer = [RGBA; WIDTH * HEIGHT];
#[derive(Clone, Debug, Copy)]
pub struct Point { pub struct Point {
pub x: u16, pub x: u16,
pub y: u16, pub y: u16,