(&self, name_hash: u64)
| 61 | |
| 62 | #[inline] |
| 63 | pub fn action_by_hash(&self, name_hash: u64) -> Option<&InputAction> { |
| 64 | self.action_index(name_hash) |
| 65 | .map(|index| &self.actions[index]) |
| 66 | } |
| 67 | |
| 68 | #[inline] |
| 69 | pub fn action_index(&self, name_hash: u64) -> Option<usize> { |
no test coverage detected