billyrieger / bimap-rs

Generic bijective maps in Rust
Apache License 2.0
129 stars 26 forks source link

`TriMap` struct would be neat #47

Open SpectralPixel opened 1 month ago

SpectralPixel commented 1 month ago

Could this crate also provide implementations for tri-directional hashmaps? Or possibly even n-directional hashmaps? I'd assume that a lot of refactoring would have to happen for these to be implemented, but it would be really neat.

As far as I'm concerned there's no other crates offering the same functionality, so this would be a chance to get ahead, (if that's something you care about :D).