Docs.rs
count-invert-0.1.0
count-invert 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
klebs6
Dependencies
itertools ^0.13.0
normal
Versions
75%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
count_
invert
0.1.0
All Items
Crate Items
Functions
Crate
count_invert
Copy item path
Source
Functions
ยง
into_
count_
map
Converts a vector into a HashMap where the keys are the counts of elements and the values are vectors of elements that have that count.
into_
counts
Converts a vector into a HashMap where the keys are the elements of the vector and the values are the counts of each element.
invert_
map
Inverts a HashMap such that the keys become the values and the values become the keys. The resulting HashMap maps the original values to a vector of keys that had that value.