Registry / utility / pi-slotmap

pi-slotmap

JSON →
library0.2.1rscratesunverified

Slotmap data structure.

# Cargo.toml [dependencies] pi_slotmap = "0.2.1"
INSTALL
IMPORT
SIG · PI-SLOTMAP
P
pi-slotmap
utilityrustv0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SlotMap
use pi_slotmap::SlotMap;

Creates a slot map and inserts a value.

use pi_slotmap::SlotMap; fn main() { let mut sm: SlotMap<u32, String> = SlotMap::new(); let key = sm.insert("hello".to_string()); println!("{:?}", sm.get(key)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pi-slotmap — cargo add pi-slotmap · libregistry