aboutsummaryrefslogtreecommitdiff
path: root/src/moves.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-23 06:27:23 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-23 06:27:23 +0300
commit8eb51ff6072413f03f6edc8a4ead95bb3380245d (patch)
treee030687de2c55d8ae13e21c204cd8e50a25cad0b /src/moves.rs
parentefd5505b7f211e09e56dc6482c850b5ff0fe8737 (diff)
downloadchessnost-8eb51ff6072413f03f6edc8a4ead95bb3380245d.tar.gz
fix: derive necessary traits
Diffstat (limited to 'src/moves.rs')
-rw-r--r--src/moves.rs2
1 files changed, 1 insertions, 1 deletions
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,