MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / remove_key_action

Method remove_key_action

src/controls.rs:296–299  ·  view source on GitHub ↗

Remove all key bindings for a given action.

(&mut self, action: KeyAction)

Source from the content-addressed store, hash-verified

294
295 /// Remove all key bindings for a given action.
296 pub fn remove_key_action(&mut self, action: KeyAction) -> &mut Self {
297 self.key.retain(|_, bound| *bound != action);
298 self
299 }
300
301 /// Set the key used for a key action.
302 ///

Callers 1

set_key_actionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected