You need to sign in or sign up before continuing.
Access GamepadId inner index
I'm looking to store data associated with each Gamepad
. Currently a hashmap is the only way to do this because I can't access the index inside a GamepadId
and it only implements Hash. I propose that GamepadId::into_inner(self) -> usize
is added for this use case. Happy to submit a MR for this.
Edited by Benjamin Schaaf