pub struct Shortcut {
pub key: Key,
pub ctrl: bool,
pub alt: bool,
pub shift: bool,
pub logo: bool,
}Expand description
A key, with the modifiers held for it: Ctrl+K. Build it with shortcut.
Fields§
§key: Key§ctrl: bool§alt: bool§shift: bool§logo: boolThe Super key.
Implementations§
Trait Implementations§
impl Copy for Shortcut
impl Eq for Shortcut
impl StructuralPartialEq for Shortcut
Auto Trait Implementations§
impl Freeze for Shortcut
impl RefUnwindSafe for Shortcut
impl Send for Shortcut
impl Sync for Shortcut
impl Unpin for Shortcut
impl UnsafeUnpin for Shortcut
impl UnwindSafe for Shortcut
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