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
Thanks. I also ran into a situation where I missed being able to hash it.
If you also add automatic derives for hash, it would make sense to derive as many as possible so it would hopefully be the last time you have to do this, as suggested by this page on common traits in the API guidelines.
Neurrone
changed the title
#derive(Debug)] for KeyCode, and other public structs
Automatically derive as many traits as possible for KeyCode, and other public structs
Sep 22, 2018
As per title. Ran into this because I have a Keycode in a struct representing possible input gestures, and was unit testing configuration parsing.
The text was updated successfully, but these errors were encountered: