Add missing derives to 'Magic'

This commit is contained in:
Bruno BELANYI 2024-03-29 02:54:24 +00:00
parent 028c4543e7
commit 25494700d7

View file

@ -4,6 +4,7 @@ mod mask;
use crate::board::Bitboard;
/// A type representing the magic board indexing a given [crate::board::Square].
#[derive(Clone, Debug)]
pub struct Magic {
/// Magic number.
pub(crate) magic: u64,