Enum dotrix::input::Button [−][src]
pub enum Button {
Key(VirtualKeyCode),
MouseLeft,
MouseRight,
MouseMiddle,
MouseOther(u16),
}
Expand description
Input button abstraction
Variants
Key(VirtualKeyCode)
Key by the code
Tuple Fields of Key
Left mouse button
Right Mouse Button
Middle mouse button
MouseOther(u16)
Mouse button by the code
Tuple Fields of MouseOther
0: u16
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Button
impl UnwindSafe for Button
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more