Expand description
§grid_mask
Re-exports§
pub use array::ArrayGrid;pub use array::ArrayIndex;pub use array::ArrayPoint;pub use array::ArrayRect;pub use array::ArraySize;pub use array::ArrayVector;pub use array::GridGetIndex;pub use array::GridSetIndex;pub use array::GridView;pub use array::GridViewMut;
Modules§
Macros§
- array_
grid - Helper macro for creating an
ArrayGridtype or instance.
Structs§
- Cardinal
- Cardinal adjacency (North, South, East, West).
- Grid
Delta - A 2D delta of a grid, representing a valid shift or displacement.
- Grid
Mask - An immutable mask of cells on a 8x8 grid.
- Grid
Point - A point in a 8x8 grid.
- Grid
Rect - A rectangle on an 8x8 grid.
- Grid
Shape - A contiguous shape on an 8x8 grid.
- Grid
Size - A size in a 8x8 grid.
- Grid
Vector - An unbounded 2D vector with unsigned components, representing a shift or displacement.
- Octile
- Octile adjacency (all 8 neighbors).
Traits§
- Adjacency
- Defines how a mask grows to include adjacent cells.