moveAt

fnElementType!R moveAt(R)(R r, size_t i)

Moves element at index i of r out and returns it. Leaves r[i] in a destroyable state that does not allocate any resources (usually equal to its .init value).