FlattenedIterator.opIndexAssign

Assigns a new value to the element at the specified index in the flattened iterator, available only for mutable elements without reference access.

struct FlattenedIterator(Iterator, size_t N, SliceKind kind)
ref return scope
@fmamath
static if(isMutable!(_slice.DeepElement) && !_slice.hasAccessByRef)
opIndexAssign
(
E
)
(
scope ref E elem
,
size_t index
)
if (
N > 1 &&
(
kind == Universal ||
kind == Canonical
)
)