[board] Derive Copy for Move
This commit is contained in:
parent
32ee25539d
commit
7b8ce3b31d
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ impl Default for Kind {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A single player's move. In chess parlance, this is a "ply".
|
/// 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);
|
pub struct Move(u16);
|
||||||
|
|
||||||
impl Move {
|
impl Move {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue