pub struct HotkeyReleased {
pub name: String,
}Expand description
Emitted when a previously-pressed global hotkey is released. Routed by the scripting layer as on_hotkey_release(name) and through on("hotkey_release", name, fn). Pairs with HotkeyFired so one chord can drive push-to-talk.
Fields§
§name: StringIdentifier matching the register_hotkey(name, ...) call that installed the binding.
Trait Implementations§
Source§impl Clone for HotkeyReleased
impl Clone for HotkeyReleased
Source§fn clone(&self) -> HotkeyReleased
fn clone(&self) -> HotkeyReleased
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 HotkeyReleased
impl Debug for HotkeyReleased
impl Message for HotkeyReleased
Auto Trait Implementations§
impl Freeze for HotkeyReleased
impl RefUnwindSafe for HotkeyReleased
impl Send for HotkeyReleased
impl Sync for HotkeyReleased
impl Unpin for HotkeyReleased
impl UnsafeUnpin for HotkeyReleased
impl UnwindSafe for HotkeyReleased
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.