iv class="spec type" id="type-resource" class="anchored"><a href="#type-resource" class="anchor"></a><code><span><span class="keyword">type</span> resource</span><span> = </span></code><table><tr id="type-resource.Rmemory" class="anchored"><td class="def variant constructor"><a href="#type-resource.Rmemory" class="anchor"></a><code><span>| </span><span><span class="constructor">Rmemory</span> <span class="keyword">of</span> <a href="#type-mem_kind">mem_kind</a></span></code></td></tr><tr id="type-resource.R