Crate grid_mask

Crate grid_mask 

Source
Expand description

§grid_mask

Build Docs dependency status codecov GitHub License

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§

array
Fixed-size array-based grids.
err
Crate internal error types.
num
Crate internal number types.

Macros§

array_grid
Helper macro for creating an ArrayGrid type or instance.

Structs§

Cardinal
Cardinal adjacency (North, South, East, West).
GridDelta
A 2D delta of a grid, representing a valid shift or displacement.
GridMask
An immutable mask of cells on a 8x8 grid.
GridPoint
A point in a 8x8 grid.
GridRect
A rectangle on an 8x8 grid.
GridShape
A contiguous shape on an 8x8 grid.
GridSize
A size in a 8x8 grid.
GridVector
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.