ScratchBuffer.this - multiple declarations
Function ScratchBuffer.this
Establishes one backing allocation for capacity elements.
this(
size_t capacity
);
Capacity zero is valid and produces the inert .init-equivalent state.
Function ScratchBuffer.this
Unique owning storage is never copied implicitly.
@disable this(
scope ref return typeof(this) rhs
);
Function ScratchBuffer.this
Transfers the backing allocation without relocating live T values.
this(
scope return typeof(this) rhs
);
The moved-from source becomes the inert .init-equivalent state.