Module hexe_core::board::piece_map [] [src]

A square to piece mapping for fast square lookups.

Structs

Iter

A PieceMap iterator.

IterMut

A mutable PieceMap iterator.

OccupiedEntry

A view into an occupied entry in a PieceMap. It is part of the Entry enum.

PieceMap

A mapping of sixty-four squares to pieces.

VacantEntry

A view into a vacant entry in a PieceMap. It is part of the Entry enum.

Enums

Entry

A view into a single entry in a map, which may either be vacant or occupied.

Traits

Swap

A type whose instances may be used to swap values in a PieceMap.