Registry / utility / bimap
library0.6.3rscratesunverified

A bijective map data structure for Rust, allowing bidirectional lookups.

# Cargo.toml [dependencies] bimap = "0.6.3"
INSTALL
IMPORT
SIG · BIMAP
B
bimap
utilityrustv0.6.3
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.

BiMap
use bimap::BiMap;

Create a bimap and perform bidirectional lookups.

use bimap::BiMap; fn main() { let mut map = BiMap::new(); map.insert("key", "value"); println!("{:?}", map.get_by_left(&"key")); println!("{:?}", map.get_by_right(&"value")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
bimap — cargo add bimap · libregistry