diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-01-23 06:27:23 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-01-23 06:27:23 +0300 |
commit | 8eb51ff6072413f03f6edc8a4ead95bb3380245d (patch) | |
tree | e030687de2c55d8ae13e21c204cd8e50a25cad0b /src/moves.rs | |
parent | efd5505b7f211e09e56dc6482c850b5ff0fe8737 (diff) | |
download | chessnost-8eb51ff6072413f03f6edc8a4ead95bb3380245d.tar.gz |
fix: derive necessary traits
Diffstat (limited to 'src/moves.rs')
-rw-r--r-- | src/moves.rs | 2 |
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, |