Crates.io | idmap-derive |
lib.rs | idmap-derive |
version | 0.1.2 |
source | src |
created_at | 2017-08-16 16:50:06.260915 |
updated_at | 2020-05-16 22:38:40.308835 |
description | Automaticatically derives IntegerId for the `idmap` crate |
homepage | |
repository | https://github.com/Techcable/rust-idmap |
max_upload_size | |
id | 27774 |
size | 6,096 |
Efficient maps of integer id keys to values, backed by an underlying Vec
.
IntegerId
for enums and newtype structs
idmap-derive
proc_macro crateOrderMap
.
u32
needs to be stored.DirectIdMap
which doesn't preserve order,
and saves space when the ids of the map's keys are densly packed and mostly present.