derive clone, debug, copy
This commit is contained in:
parent
fbf52f64a9
commit
81295eb37f
|
@ -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,
|
||||||
|
|
Reference in a new issue