Add missing derives to 'Magic'
This commit is contained in:
parent
028c4543e7
commit
25494700d7
|
@ -4,6 +4,7 @@ mod mask;
|
||||||
use crate::board::Bitboard;
|
use crate::board::Bitboard;
|
||||||
|
|
||||||
/// A type representing the magic board indexing a given [crate::board::Square].
|
/// A type representing the magic board indexing a given [crate::board::Square].
|
||||||
|
#[derive(Clone, Debug)]
|
||||||
pub struct Magic {
|
pub struct Magic {
|
||||||
/// Magic number.
|
/// Magic number.
|
||||||
pub(crate) magic: u64,
|
pub(crate) magic: u64,
|
||||||
|
|
Loading…
Reference in a new issue