[][src]Type Definition compact_arena::Idx32

type Idx32<'tag> = Idx<'tag, u32>;

The index type for a small arena is 32 bits large. You will usually get the index from the arena and use it by indexing, e.g. arena[index].

Examples

assert_eq!(size_of::<Idx32<'_>>(), size_of::<u32>());