From 8eb51ff6072413f03f6edc8a4ead95bb3380245d Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 23 Jan 2023 06:27:23 +0300 Subject: fix: derive necessary traits --- src/moves.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/moves.rs') diff --git a/src/moves.rs b/src/moves.rs index a43ed4b..3f55b2f 100644 --- a/src/moves.rs +++ b/src/moves.rs @@ -1,6 +1,6 @@ use crate::{square::Square, bitboard::print}; -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Move { pub source: Square, pub target: Square, -- cgit v1.2.3