Module ilyvion_util::multi_dimensional
source · Expand description
Structs
- This struct represents a two-dimensional window into a one-dimensional
Vec
. This is accomplished through taking either acolumns
parameter, and dividing the size of theVec
evenly intorows
based on its length, or by takingrows
andcolumns
directly, trusting that the caller provided correct values. The latter option provides a zero-cost abstraction. - This struct represents a two-dimensional window into a one-dimensional slice. This is accomplished through taking either a
columns
parameter, and dividing the size of the slice evenly intorows
based on its length, or by takingrows
andcolumns
directly, trusting that the caller provided correct values. The latter option provides a zero-cost abstraction.