[position] Remove move_generator::MoveListSet

This commit is contained in:
Eryn Wells 2024-01-29 19:02:02 -08:00
parent 8aa44e56f2
commit 9c4360c886

View file

@ -10,18 +10,6 @@ struct BitBoardSet {
captures: BitBoard,
}
#[derive(Clone, Debug, Eq, PartialEq)]
struct MoveListSet {
quiet: Vec<Move>,
captures: Vec<Move>,
}
impl MoveListSet {
pub fn contains(&self, mv: &Move) -> bool {
self.quiet.contains(mv) || self.captures.contains(mv)
}
}
/// A set of moves for a piece on the board.
#[derive(Clone, Debug, Eq, PartialEq)]
pub(crate) struct MoveSet {