Module pathfinding::grid
source · Expand description
Rectangular grid in which vertices can be added or removed, with or without diagonal links.
Structs
Iterator returned by calling
.edges()
on a grid.Representation of a rectangular grid in which vertices can be added
or removed. Edges are automatically created between adjacent vertices.
By default, only vertical and horizontal edges are created, unless
diagonal mode is enabled.
Iterator returned by calling
.into_iter()
on a grid.Iterator returned by calling
.iter()
on a grid.