Closed fritzrehde closed 10 months ago
I want to use a (cloned) Grid as a key in a hashmap. This is currently not possible, because Hash isn't implemented for Grid<T>. I think this should be quite straightforward to add, a simple #[derive(Hash)] might already work.
Grid
Hash
Grid<T>
#[derive(Hash)]
Sorry, I didn't see #43, which is asking for the same thing. Closing because this is a duplicate.
I want to use a (cloned)
Grid
as a key in a hashmap. This is currently not possible, becauseHash
isn't implemented forGrid<T>
. I think this should be quite straightforward to add, a simple#[derive(Hash)]
might already work.