A generator that yields moves for all pieces on the board. This generator combines the shape-specific move generators developed in prior commits into a single iterator that yields all moves. Implement FusedIterator for all generators so AllPiecesMoveGenerator can avoid doing a bunch of extra work once each iterator has yielded None. |
||
---|---|---|
.. | ||
generators | ||
builder.rs | ||
defs.rs | ||
generators.rs | ||
lib.rs | ||
moves.rs | ||
testing.rs |