Bruno BELANYI
8e688a0cac
Add 'try_from_index' implementations
2024-04-03 21:26:18 +01:00
Bruno BELANYI
753f1590d1
Add 'Panics' section to 'from_index' methods
2024-04-03 21:26:18 +01:00
Bruno BELANYI
d919b956ed
Add 'NUM_VARIANTS' constant to all 'board' enums
2024-04-01 22:20:39 +01:00
Bruno BELANYI
407f85c19b
Consistently use 'Self' type in 'impl' blocks
2024-04-01 22:20:39 +01:00
Bruno BELANYI
585c127381
Statically assert zero-cost invariants
...
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.
2024-04-01 22:20:39 +01:00
Bruno BELANYI
2b4797ec47
Add 'File::{left,right}'
2024-04-01 22:20:39 +01:00
Bruno BELANYI
ef15da41ea
Add 'File' enum
2024-04-01 22:20:39 +01:00