slice2d.this

Construct a new slice of the given data with the given size.

struct slice2d(T)
@nogc
this
(
T[] data
,
size_t stride
,
size_t rows
,
size_t columns
)

Parameters

data T[]

The data of this slice.

stride size_t

The data stride of this slice.

rows size_t

The number of rows in the slice.

columns size_t

The number of columns in the slice.

Meta