Resource.init

Initializes a resource. For this, he saves the name of the type and later, according to this type, he can determine further calls to it.

struct Resource
@trusted
void
init
(
T
)

Parameters

resource T

Object resource.

Meta