Public
Types
| Name | Description |
|---|---|
| Slice2d | A slice2d allows slicing an array like int[10][10] into an arbitrary "int[][]"-like counterpart... |
Functions
| Name | Description |
|---|---|
| slice::count | |
| slice::@each_ref | Step through each element of the slice *by reference* |
| slice::set_xy | Set the value at a particular x/y position in the slice. |
| slice::get_xy | Get the value at a particular x/y position in the slice. |
| slice::get_row | Return a row as a slice. |
| slice::@each | Step through each element of the slice. |
| slice::get_xy_ref | Get the value at a particular x/y position in the slice by reference. |
| slice::get_coord_ref | Get a pointer to the value at a particular x/y position in the slice. |
| slice::len | |
| slice::set_coord | Set the ´value at a particular x/y position in the slice. |
| slice::get_coord | Get the value at a particular x/y position in the slice. |
| slice::slice | Reslice a slice2d returning a new slice. |