derive clone, debug, copy

master
Able 2021-11-28 21:22:49 -06:00
parent 923079ff99
commit e8bfdb3f6d
No known key found for this signature in database
GPG Key ID: 2BB8F62388A6A225
1 changed files with 1 additions and 0 deletions

View File

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