pub struct ActiveShortcutState(/* private fields */);Expand description
Tracks the shortcut label currently registered, so callers can unregister only that specific shortcut (rather than every shortcut in the process) when the user rebinds their hotkey.
Implementations§
Trait Implementations§
Source§impl Default for ActiveShortcutState
impl Default for ActiveShortcutState
Source§fn default() -> ActiveShortcutState
fn default() -> ActiveShortcutState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ActiveShortcutState
impl RefUnwindSafe for ActiveShortcutState
impl Send for ActiveShortcutState
impl Sync for ActiveShortcutState
impl Unpin for ActiveShortcutState
impl UnsafeUnpin for ActiveShortcutState
impl UnwindSafe for ActiveShortcutState
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