Registry / utility / bidir-map

bidir-map

JSON →
library1.0.0rscratesunverified

Bidirectional map implementation for Rust.

# Cargo.toml [dependencies] bidir-map = "1.0.0"
INSTALL
IMPORT
SIG · BIDIR-MAP
B
bidir-map
utilityrustv1.0.0
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.

BidirMap
use bidir_map::BidirMap;

Creates a bidirectional map and inserts a key-value pair.

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

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
bidir-map — cargo add bidir-map · libregistry