fixed-map
fixed-map copied to clipboard
A map implementation that relies on fixed-size storage derived by a procedural macro
Or: "Do the iterators really need to copy the keys by default?" I'm having a bit of trouble creating an implementation for [`bevy_reflect::Map`](https://docs.rs/bevy_reflect/latest/bevy_reflect/trait.Map.html) on a wrapper type around your `fixed_map::Map`...
Not sure if this is an issue with rustc/cargo or if there's a way for fixed_map to solve it, but I'm writing a library that uses a fixed map as...
When following key: ```rust #[derive(Key)] enum MyKey { First, Second, Third, } ``` Is stored in a [Set](https://docs.rs/fixed-map/latest/fixed_map/set/struct.Set.html) it is currently backed by a structure like this since it's based...
Missing APIs
I'm gathering a list of missing APIs here instead of having them in multiple separate issues. * [x] `FromIterator`, `IntoIterator` (#9) (added in #9). * [x] `Map::contains_key` / `Set::contains` (#10)...
I suggest renaming the `map` in each of these names to `dynamic` instead. This would avoid confusion around other `Map` stuff in the library. Other options: - `hashbrown` - `anycopy`