Commit graph

6 commits

Author SHA1 Message Date
44a881bfbd Add '# Safety' section to 'unsafe fn' doc 2022-07-25 16:34:49 +02:00
337b8f61f4 Add 'NUM_VARIANTS' constant to all 'board' enums 2022-07-22 10:36:59 +02:00
2c140d0481 Consistently use 'Self' type in 'impl' blocks 2022-07-22 10:36:59 +02:00
66e5109157 Statically assert zero-cost invariants
All checks were successful
continuous-integration/drone/push Build is passing
Since some or all of those invariants will come in handy to ensure we
use as little memory as possible, to maximize the speed of the move
generation later on.
2022-07-18 11:05:41 +02:00
db0a7e9f60 Add 'Rank::{up,down}' 2022-07-17 21:26:03 +02:00
4eff49f367 Add 'Rank' enum 2022-07-16 14:41:07 +02:00