pub struct HotkeyFired {
pub name: String,
}Expand description
Emitted by the OS for a previously-registered global hotkey. Routed by the scripting layer as on_hotkey(name) and through on("hotkey", name, fn).
Fields§
§name: StringIdentifier matching the register_hotkey(name, ...) call that installed the binding.
Trait Implementations§
Source§impl Clone for HotkeyFired
impl Clone for HotkeyFired
Source§fn clone(&self) -> HotkeyFired
fn clone(&self) -> HotkeyFired
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HotkeyFired
impl Debug for HotkeyFired
impl Message for HotkeyFired
Auto Trait Implementations§
impl Freeze for HotkeyFired
impl RefUnwindSafe for HotkeyFired
impl Send for HotkeyFired
impl Sync for HotkeyFired
impl Unpin for HotkeyFired
impl UnsafeUnpin for HotkeyFired
impl UnwindSafe for HotkeyFired
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.