Module naga::arena

source ·

Structs

  • An arena holding some kind of component (e.g., type, constant, instruction, etc.) that can be referenced.
  • A strongly typed reference to an arena item.
  • A strongly typed range of handles.
  • An arena whose elements are guaranteed to be unique.

Type Aliases

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