Function poirebot::game::pieces::is_pawn_two_step [−][src]
pub fn is_pawn_two_step(pawn_move: &Move) -> bool
Whether the move was a pawn “two-step” (when they move by 2 from their original position). This function assumes the piece is already determined to be a pawn.