[−][src]Module grid_trait::grid2
Two-dimensional data grid.
Modules
backends | Implementations. |
combinate | Combinators. |
Traits
Grid2 | Top-level trait for 2D grids. |
Grid2Len | 2D grid bounded from 0 to a finite number. |
Grid2Get | 2D grid read by value. |
Grid2Set | 2D grid write by value. |
Grid2Ref | 2D grid read by reference. |
Grid2Mut | 2D grid write by reference. |
Functions
alloc | Allocate a grid on the heap. |
alloc_gen | Allocate a grid on the heap, populate with a function. |
array3x3 | Inline 3x3 array grid. |
array3x3_gen | Inline 3x3 array grid, populate with a function. |
mut_fn | Represent a coord → &mut Item function as a grid. |
reader_writer | Read/write through closures. |
ref_fn | Represent a coord → &Item function as a grid. |
value_fn | Represent a coord → Item function as a grid. |