Module gorrosion_gtp::gtp_type

source ·
Expand description

The types described by the GTP specification. They have an ever growing collection of useful methods to manipulate them. The most interesting should currently be the conversions to more usual data types of Rust.

Type Definitions

An (untagged) union of two types.
A boolean value, either True or False.
A heterogenous tuple.
The colours of the two opponents, either Black or White.
A 32 bit IEEE 754 float.
An unsigned integer of 31 bits.
A homogeneous list of Collections.
A move that can be made.
A homogenous list containing elements of an arbitrary type (except multiline lists).
A single word.
A position where to play. Either coordinates of a vertex on the board or Pass.