Type Alias naga::arena::handle::Index

source ·
pub type Index = NonMaxU32;
Expand description

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>.

Aliased Type§

struct Index(NonZero<u32>);

Fields§

§0: NonZero<u32>