[][src]Enum inputbot::KeybdKey

pub enum KeybdKey {
    BackspaceKey,
    TabKey,
    EnterKey,
    EscapeKey,
    SpaceKey,
    HomeKey,
    LeftKey,
    UpKey,
    RightKey,
    DownKey,
    InsertKey,
    DeleteKey,
    Numrow0Key,
    Numrow1Key,
    Numrow2Key,
    Numrow3Key,
    Numrow4Key,
    Numrow5Key,
    Numrow6Key,
    Numrow7Key,
    Numrow8Key,
    Numrow9Key,
    AKey,
    BKey,
    CKey,
    DKey,
    EKey,
    FKey,
    GKey,
    HKey,
    IKey,
    JKey,
    KKey,
    LKey,
    MKey,
    NKey,
    OKey,
    PKey,
    QKey,
    RKey,
    SKey,
    TKey,
    UKey,
    VKey,
    WKey,
    XKey,
    YKey,
    ZKey,
    Numpad0Key,
    Numpad1Key,
    Numpad2Key,
    Numpad3Key,
    Numpad4Key,
    Numpad5Key,
    Numpad6Key,
    Numpad7Key,
    Numpad8Key,
    Numpad9Key,
    F1Key,
    F2Key,
    F3Key,
    F4Key,
    F5Key,
    F6Key,
    F7Key,
    F8Key,
    F9Key,
    F10Key,
    F11Key,
    F12Key,
    F13Key,
    F14Key,
    F15Key,
    F16Key,
    F17Key,
    F18Key,
    F19Key,
    F20Key,
    F21Key,
    F22Key,
    F23Key,
    F24Key,
    NumLockKey,
    ScrollLockKey,
    CapsLockKey,
    LShiftKey,
    RShiftKey,
    LControlKey,
    RControlKey,
    OtherKey(u64),
}

Variants

BackspaceKey
TabKey
EnterKey
EscapeKey
SpaceKey
HomeKey
LeftKey
UpKey
RightKey
DownKey
InsertKey
DeleteKey
Numrow0Key
Numrow1Key
Numrow2Key
Numrow3Key
Numrow4Key
Numrow5Key
Numrow6Key
Numrow7Key
Numrow8Key
Numrow9Key
AKey
BKey
CKey
DKey
EKey
FKey
GKey
HKey
IKey
JKey
KKey
LKey
MKey
NKey
OKey
PKey
QKey
RKey
SKey
TKey
UKey
VKey
WKey
XKey
YKey
ZKey
Numpad0Key
Numpad1Key
Numpad2Key
Numpad3Key
Numpad4Key
Numpad5Key
Numpad6Key
Numpad7Key
Numpad8Key
Numpad9Key
F1Key
F2Key
F3Key
F4Key
F5Key
F6Key
F7Key
F8Key
F9Key
F10Key
F11Key
F12Key
F13Key
F14Key
F15Key
F16Key
F17Key
F18Key
F19Key
F20Key
F21Key
F22Key
F23Key
F24Key
NumLockKey
ScrollLockKey
CapsLockKey
LShiftKey
RShiftKey
LControlKey
RControlKey
OtherKey(u64)

Implementations

impl KeybdKey[src]

pub fn bind<F: Fn() + Send + Sync + 'static>(self, callback: F)[src]

pub fn block_bind<F: Fn() + Send + Sync + 'static>(self, callback: F)[src]

pub fn blockable_bind<F: Fn() -> BlockInput + Send + Sync + 'static>(
    self,
    callback: F
)
[src]

pub fn unbind(self)[src]

impl KeybdKey[src]

pub fn is_pressed(self) -> bool[src]

pub fn is_toggled(self) -> bool[src]

pub fn press(self)[src]

pub fn release(self)[src]

Trait Implementations

impl Clone for KeybdKey[src]

impl Copy for KeybdKey[src]

impl Debug for KeybdKey[src]

impl Eq for KeybdKey[src]

impl From<KeybdKey> for u64[src]

impl From<u64> for KeybdKey[src]

impl Hash for KeybdKey[src]

impl PartialEq<KeybdKey> for KeybdKey[src]

impl StructuralEq for KeybdKey[src]

impl StructuralPartialEq for KeybdKey[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.