Skip to main content

Module game

Module game 

Source

Modules§

change
options
start
Errors from the rooted boundary of a game tree.
traversal

Structs§

Affixes
Comments surrounding an option in PGN movetext.
Command
Cursor
A movable position within a game tree.
Game
A game tree and its game-level data.
GamePublic
Public data associated with a game.
Line
A position followed by a linear sequence of moves.
Move
A move in a game, with its derived and public data.
MoveMut
A mutable reference to a move in a game.
MovePublic
Public data associated with a move.
MoveRef
An immutable reference to a move in a game.
MoveSlot
The allocated slot of a move within a game.
Position
A position in a game, with its derived, evaluation, and public data.
PositionMut
A mutable reference to a position in a game.
PositionPublic
Public data associated with a position.
PositionRef
An immutable reference to a position in a game.
Protected
Positions retained by attached mutable values.
Reslot
A detached, injective mapping from one slot allocation to another.
Roster
Short
Tag

Enums§

Error
An error from accessing or editing a game tree.
Layout
Canonical tree-slot assignment order.
Mode
Nag
Outcome
PositionSlot
The allocated slot of a position within a game.

Constants§

START
The starting position slot.

Type Aliases§

CursorMut
A cursor over a mutably borrowed game.
CursorRef
A cursor over an immutably borrowed game.
Result
A result of editing a game tree.