owned method

D owned(
  1. int i
)

Returns the struct at i as a memory-backed value.

The returned struct retains a StructPointer to the corresponding memory location, so changes made to it are written through to memory.

Implementation

D owned(int i) => _getAtIndex(i, owned: true);