Commit graph

6 commits

Author SHA1 Message Date
fa1bf74c44 Add '# Safety' section to 'unsafe fn' doc 2022-07-25 16:36:44 +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
63228c2d9e Add 'File::{left,right}' 2022-07-17 21:26:03 +02:00
bb04368f41 Add 'File' enum 2022-07-16 14:41:07 +02:00