[][src]Type Definition compact_arena::Idx32

type Idx32<B> = Idx<u32, B>;

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<String>>(), size_of::<u32>());