1 2 3 4 5 6 7 8
use crate::pieces::piece; #[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)] pub struct ChessMove { pub from: (u8, u8), pub to: (u8, u8), pub promotion: Option<piece::PromotionPiece>, }
1 2 3 4 5 6 7 8
use crate::pieces::piece; #[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)] pub struct ChessMove { pub from: (u8, u8), pub to: (u8, u8), pub promotion: Option<piece::PromotionPiece>, }