[][src]Type Definition compact_arena::Idx16

type Idx16<B> = Idx<u16, B>;

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<usize>>(), size_of::<u16>());