Module structures::grid

source ·
Expand description

§Grid

Contains a ‘GridCollection’ trait for implementing a grid, as well as a default implementation of a grid called ‘Grid’. This also contains implementations for the following: ‘Table’, ‘AdjacencyMatrix’. A ‘grid’ is a list of elements arranged in an NxM resizable grid.

Structs§

  • A ‘grid’ that is used to represent weighted edges connecting ‘nodes’ in a ‘graph’.
  • Contains data for a single ‘table cell’.
  • A resizable collection of NxM elements that can be randomly accessed and altered.
  • Contains data for a row/column grid ‘position’.
  • A resizable ‘table’ of NxM ‘cells’ that can be randomly accessed and altered and can optionally have column and/or row headers.

Enums§

  • Enum used for defining a ‘table cell’s’ data type.

Traits§