Closed sdleffler closed 3 years ago
This PR adds a .slot() method to Index, allowing its slot: u32 field to be extracted. It also adds several methods to Arena for working with generation-less slots.
.slot()
Index
slot: u32
Arena
Oops, forgot to update the comment on contains_slot.
contains_slot
This PR adds a
.slot()
method toIndex
, allowing itsslot: u32
field to be extracted. It also adds several methods toArena
for working with generation-less slots.