var._nativeAssignElement

private void _nativeAssignElement(T)(T rhs, size_t index) @safe

Stores one element into a native array via v[index] = value.

The value's scalar type must match the element kind exactly (no silent conversions), the index must be in bounds, and the buffer must have been constructed mutable.