[][src]Module spacebattleship::board::rectangular

Implements a basic rectangular board.

Structs

Coordinate

The corrdinates of a [GridCell][crate::board::GridCell] in the board.

RectDimensions

Simple rectangular dimensions. Optionally supports wrapping.

RectNeighbors

State of the neighbors iter for RectDimensions.

Enums

Wrapping

Controls which dimensions the grid wraps around in.