From e76b37e54b1e4c0e13f9f6b608ee46b87bd0ba6e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 21 Dec 2021 04:34:14 -0500 Subject: some Debug impls --- src/util/grid.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/grid.rs b/src/util/grid.rs index c394008..c0607c0 100644 --- a/src/util/grid.rs +++ b/src/util/grid.rs @@ -1,6 +1,6 @@ -#[derive(Copy, Clone, Hash, Eq, PartialEq)] +#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug)] pub struct Row(pub usize); -#[derive(Copy, Clone, Hash, Eq, PartialEq)] +#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug)] pub struct Col(pub usize); impl std::ops::Add for Row { @@ -31,7 +31,7 @@ impl std::ops::Add for usize { } } -#[derive(Default, Clone)] +#[derive(Default, Clone, Debug)] pub struct GridRow { cells: Vec, } @@ -59,7 +59,7 @@ impl std::ops::IndexMut for GridRow { } } -#[derive(Default, Clone)] +#[derive(Default, Clone, Debug)] pub struct Grid { rows: Vec>, } -- cgit v1.2.3-54-g00ecf