From 01495ff1d8d105de485f0c746251cd471176d1cc Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Mon, 9 Sep 2024 00:39:03 +0000 Subject: [PATCH] changed id type --- src/boxes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boxes.rs b/src/boxes.rs index b424b42..976f511 100644 --- a/src/boxes.rs +++ b/src/boxes.rs @@ -3,7 +3,7 @@ use serde::{Serialize, Deserialize}; #[derive(Debug, Clone, Copy)] pub struct BoxCoords { - pub id: u32, + pub id: u16, pub x1: u32, pub y1: u32, pub x2: u32, @@ -23,7 +23,7 @@ impl Display for BoxCoords { #[derive(Serialize, Deserialize, Debug, Clone, Copy)] pub struct NormalizedBoxCoords { - pub id: u32, + pub id: u16, pub x1: f32, pub y1: f32, pub x2: f32,