[][src]Module grid_trait::grid3

Three-dimensional data grid.

Modules

backends

Implementations.

combinate

Combinators.

Traits

Grid3

Top-level trait for 2D grids.

Grid3Len

2D grid bounded from 0 to a finite number.

Grid3Get

2D grid read by value.

Grid3Set

2D grid write by value.

Grid3Ref

2D grid read by reference.

Grid3Mut

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.

array3x3x3

Inline 3x3x3 array grid.

array3x3x3_gen

Inline 3x3x3 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.