ResourceArena.opIndex

Get a resource by its index.

This may return an expired resource, which can be then brought back to life with an update call.

struct ResourceArena(T)
ref inout
inout(T)
opIndex
(
int index
)

Parameters

index int

Index of the resource.

Return Value

Type: inout(T)

The resource.

Meta