You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an enum that I want to use as the key type in an FnvIndexMap.:
use hash32_derive::Hash32;#[derive(Hash,Hash32)]pubenumCommand{// ...}// says "#[derive(Hash)] doesn't currently support `enum` and `union`"staticM:FnvIndexMap<Command,u32,3> = FnvIndexMap::from_iter([(Command::Send,1)]);// says `the trait bound `Command: hash32::Hash` is not satisfied`
I have an enum that I want to use as the key type in an
FnvIndexMap
.:I noticed that a related issue rust-embedded-community/hash32#3 has been closed, but it seems that the problem still persists.
The text was updated successfully, but these errors were encountered: