I understand what the castling and en passant moves are.
What is meant by “include castling rights and en passant information in the state”?
Does it mean, for example, that the state includes information about whether a rook and king can castle? Or is it that the state includes information about whether a rook and king did castle? Or is it that the state, instead of including information about what squares the rook and king are on, simply includes information that castling occurred and which side it occurred on?