From ce2eeaee7fc23c3f3683cee310a9117d764409cb Mon Sep 17 00:00:00 2001 From: same mf who else Date: Fri, 20 Feb 2026 00:59:49 +0200 Subject: [PATCH] fix(out): impl Debug for XY, WH, XYWH --- output/src/out_structs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/output/src/out_structs.rs b/output/src/out_structs.rs index 8191b3e..a68771a 100644 --- a/output/src/out_structs.rs +++ b/output/src/out_structs.rs @@ -6,7 +6,7 @@ use crate::*; /// let xy: XY = XY(0, 0); /// ``` #[cfg_attr(test, derive(Arbitrary))] -#[derive(Copy, Clone, Default)] pub struct XY(pub C, pub C); +#[derive(Copy, Clone, Debug, Default)] pub struct XY(pub C, pub C); /// A size (Width, Height). /// @@ -14,7 +14,7 @@ use crate::*; /// let wh: WH = WH(0, 0); /// ``` #[cfg_attr(test, derive(Arbitrary))] -#[derive(Copy, Clone, Default)] pub struct WH(pub C, pub C); +#[derive(Copy, Clone, Debug, Default)] pub struct WH(pub C, pub C); /// Point with size. /// @@ -25,7 +25,7 @@ use crate::*; /// * [ ] TODO: anchor field (determines at which corner/side is X0 Y0) /// #[cfg_attr(test, derive(Arbitrary))] -#[derive(Copy, Clone, Default)] pub struct XYWH(pub C, pub C, pub C, pub C); +#[derive(Copy, Clone, Debug, Default)] pub struct XYWH(pub C, pub C, pub C, pub C); /// A cardinal direction. ///