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. ///