Struct
ContextMenuCommand
pub struct ContextMenuCommand { /* private fields */ }An item of the application’s chosen, passed to
App::on_context_menu_command.
Methods
#pub fn id(&self) -> &str
The item’s id, as MenuItem::new gave it.
#pub fn target(&self) -> &ContextMenuTarget
What the right-click that opened the menu was on.
Trait implementations
impl Clone for ContextMenuCommandimpl Debug for ContextMenuCommand