Enum shogi::position::MoveRecord [−][src]
pub enum MoveRecord {
Normal {
from: Square,
to: Square,
placed: Piece,
captured: Option<Piece>,
promoted: bool,
},
Drop {
to: Square,
piece: Piece,
},
}
Expand description
MoveRecord stores information necessary to undo the move.