[][src]Type Definition compact_arena::Idx16

type Idx16<'tag> = Idx<'tag, u16>;

The index type for a tiny arena is 16 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::<Idx16<'_>>(), size_of::<u16>());