Module naga::arena::handle

source ·
Expand description

Well-typed indices into Arenas and UniqueArenas.

This module defines Handle and related types.

Structs§

Type Aliases§

  • An unique index in the arena array that a handle points to. The “non-max” part ensures that an Option<Handle<T>> has the same size and representation as Handle<T>.