[board] Derive Copy for Move

This commit is contained in:
Eryn Wells 2024-01-21 09:21:41 -08:00
parent 32ee25539d
commit 7b8ce3b31d

View file

@ -85,7 +85,7 @@ impl Default for Kind {
}
/// A single player's move. In chess parlance, this is a "ply".
#[derive(Clone, Eq, Hash, PartialEq)]
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
pub struct Move(u16);
impl Move {