Macro arret_compiler::new_indexing_id_type [−][src]
macro_rules! new_indexing_id_type { ($name:ident, $ty:ty) => { ... }; }
Builds a new ID type based off indexing in to a Vec
lookup table
This stores the value internally at $ty (typically u32
) while the interface uses usize
to
support easy indexing.