Remove a key binding.
(&mut self, key: &keyboard::Key)
| 234 | |
| 235 | /// Remove a key binding. |
| 236 | pub fn unbind_key(&mut self, key: &keyboard::Key) -> Option<KeyAction> { |
| 237 | self.key.remove(key) |
| 238 | } |
| 239 | |
| 240 | /// Return the key-press action for a key. |
| 241 | pub fn key_action(&self, key: &keyboard::Key) -> Option<KeyAction> { |
no outgoing calls
no test coverage detected