From 425f093756250c7a1e01f9c9ed4acc21108b4a8b Mon Sep 17 00:00:00 2001 From: Matthew Gordon Date: Fri, 4 Sep 2020 22:01:14 -0400 Subject: [PATCH] derive(Clone) for Array2D --- src/util/array2d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/array2d.rs b/src/util/array2d.rs index 8d1e133..1ee2e7c 100644 --- a/src/util/array2d.rs +++ b/src/util/array2d.rs @@ -1,7 +1,7 @@ use std::ops::{Index, IndexMut}; /// 3D row-major dynamic array -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct Array2D { data: Vec, height: usize,