multi_index_map icon indicating copy to clipboard operation
multi_index_map copied to clipboard

Simple and flexible multi-index containers.

Results 10 multi_index_map issues
Sort by recently updated
recently updated
newest added

Say I have a mock-up like this: ```rs struct Inner { blah: String, more: String } #[derive(MultiIndexMap)] struct Outer { #[multi_index(hashed_unique)] id: String, #[multi_index(hashed_unique)] inner: Inner, } ``` Except for...

Is it possible to enhance the generated code, so that it also produces methods like `entry` in `HashMap`? This is to work around the issue as in this SO post:...

Thank you for developing the great library. rust version of Boost.MultiIndex like container is what I want to have. Perhaps it has already planned in your roadmap, but I'd like...

Hi, I am trying to use this library, and the modify_by_ methods are sometimes impossible to use (or I may have missed something). Closures in general are a bit of...

Are you aware of any problems using 'multi_index_map' if one has data field types wrapped inside the Arc:: template (for cross-thread safety)?

We are using this crate over at [Hedgehog's dataplane](https://github.com/githedgehog/dataplane) (or will be once https://github.com/githedgehog/dataplane/pull/392 lands). That said, our CI is bouncing this crate as a dependency for two reasons. *...

Currently, the `iter_by_` methods for non-unique indices work by iterating over all index values and then iterating over the values associated to each index. So basically, the difference to a...

- Replace nth-based logic with key-matching over iter_mut for get_mut_by_ - Use two-pass keyed access for update_by_/modify_by_ to satisfy borrow rules and keep indexes consistent - Add extensive comments explaining...

Would you be interested in adding https://docs.rs/trie-rs/latest/trie_rs/ as an index? They have performance similar to HashMap but maintaining order.

Boost.MultiIndex has a sequenced index feature: https://www.boost.org/doc/libs/1_88_0/libs/multi_index/doc/reference/seq_indices.html This allows elements to be accessed in insertion order. It's useful for certain queue-like structures. If multi_index_map supported it, I would be able...