Module slicers

Source
Expand description

Provides the Slicer trait and slicers types that determine the order and pattern in which data is produced by an interator over a CellMap.

Structs§

Cells
A Slicer which produces cells in (x, y) order inside a layer, with x increasing most rapidly.
Line
A Slicer which produces cells along the line connecting two points in the parent frame.
Windows
A Slicer which produces rectangular views into a layer in (x, y) order, increasing x most rapidly. A boundary of the semi_width of the window around the outside edge of the map is used to prevent indexing outside the map.

Traits§

Slicer
Trait which allows a CellMapIter or CellMapIterMut struct to determine what shape the data in the iteration should be produced in. For example: