Registry / utility / hashbag

hashbag

JSON →
library0.1.13rscratesunverified

An unordered multiset implementation using a hash bag.

# Cargo.toml [dependencies] hashbag = "0.1.13"
INSTALL
IMPORT
SIG · HASHBAG
H
hashbag
utilityrustv0.1.13
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.

HashBag
use hashbag::HashBag;

Create a hash bag and insert elements.

use hashbag::HashBag; fn main() { let mut bag = HashBag::new(); bag.insert(1); bag.insert(2); println!("Count of 1: {}", bag.count(&1)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
hashbag — cargo add hashbag · libregistry