TData.ensureUnique

Returns an instance with the same data as the current instance, and a reference count of 1. The current instance is cleared. If the current instance already has a reference count of 1, no copying is done.

struct TData(T)
ensureUnique
()
if (
!hasIndirections!T
)

Meta