[−][src]Struct lnk::HotkeyFlags
The HotkeyFlags structure specifies input generated by a combination of keyboard keys being pressed.
Methods
impl HotkeyFlags
[src]
pub fn new(low_byte: HotkeyKey, high_byte: HotkeyModifiers) -> Self
[src]
Create a new HotkeyFlags instance.
pub fn key(&self) -> &HotkeyKey
[src]
The primary key assigned to the hotkey
pub fn set_key(&mut self, key: HotkeyKey)
[src]
Set the hotkey primary key
pub fn modifiers(&self) -> &HotkeyModifiers
[src]
The modifiers (Shift, Ctrl, Alt) for this hotkey
pub fn set_modifiers(&mut self, modifiers: HotkeyModifiers)
[src]
Set the hotkey modifiers (Shift, Ctrl, Alt)
Trait Implementations
impl Clone for HotkeyFlags
[src]
fn clone(&self) -> HotkeyFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HotkeyFlags
[src]
impl Debug for HotkeyFlags
[src]
impl Eq for HotkeyFlags
[src]
impl Hash for HotkeyFlags
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<HotkeyFlags> for HotkeyFlags
[src]
fn eq(&self, other: &HotkeyFlags) -> bool
[src]
fn ne(&self, other: &HotkeyFlags) -> bool
[src]
impl StructuralEq for HotkeyFlags
[src]
impl StructuralPartialEq for HotkeyFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for HotkeyFlags
impl Send for HotkeyFlags
impl Sync for HotkeyFlags
impl Unpin for HotkeyFlags
impl UnwindSafe for HotkeyFlags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,