Struct windows::System::VirtualKey
#[repr(transparent)]pub struct VirtualKey(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl VirtualKey
impl VirtualKey
pub const None: Self = _
pub const LeftButton: Self = _
pub const RightButton: Self = _
pub const Cancel: Self = _
pub const MiddleButton: Self = _
pub const XButton1: Self = _
pub const XButton2: Self = _
pub const Back: Self = _
pub const Tab: Self = _
pub const Clear: Self = _
pub const Enter: Self = _
pub const Shift: Self = _
pub const Control: Self = _
pub const Menu: Self = _
pub const Pause: Self = _
pub const CapitalLock: Self = _
pub const Kana: Self = _
pub const Hangul: Self = _
pub const ImeOn: Self = _
pub const Junja: Self = _
pub const Final: Self = _
pub const Hanja: Self = _
pub const Kanji: Self = _
pub const ImeOff: Self = _
pub const Escape: Self = _
pub const Convert: Self = _
pub const NonConvert: Self = _
pub const Accept: Self = _
pub const ModeChange: Self = _
pub const Space: Self = _
pub const PageUp: Self = _
pub const PageDown: Self = _
pub const End: Self = _
pub const Home: Self = _
pub const Left: Self = _
pub const Up: Self = _
pub const Right: Self = _
pub const Down: Self = _
pub const Select: Self = _
pub const Print: Self = _
pub const Execute: Self = _
pub const Snapshot: Self = _
pub const Insert: Self = _
pub const Delete: Self = _
pub const Help: Self = _
pub const Number0: Self = _
pub const Number1: Self = _
pub const Number2: Self = _
pub const Number3: Self = _
pub const Number4: Self = _
pub const Number5: Self = _
pub const Number6: Self = _
pub const Number7: Self = _
pub const Number8: Self = _
pub const Number9: Self = _
pub const A: Self = _
pub const B: Self = _
pub const C: Self = _
pub const D: Self = _
pub const E: Self = _
pub const F: Self = _
pub const G: Self = _
pub const H: Self = _
pub const I: Self = _
pub const J: Self = _
pub const K: Self = _
pub const L: Self = _
pub const M: Self = _
pub const N: Self = _
pub const O: Self = _
pub const P: Self = _
pub const Q: Self = _
pub const R: Self = _
pub const S: Self = _
pub const T: Self = _
pub const U: Self = _
pub const V: Self = _
pub const W: Self = _
pub const X: Self = _
pub const Y: Self = _
pub const Z: Self = _
pub const LeftWindows: Self = _
pub const RightWindows: Self = _
pub const Application: Self = _
pub const Sleep: Self = _
pub const NumberPad0: Self = _
pub const NumberPad1: Self = _
pub const NumberPad2: Self = _
pub const NumberPad3: Self = _
pub const NumberPad4: Self = _
pub const NumberPad5: Self = _
pub const NumberPad6: Self = _
pub const NumberPad7: Self = _
pub const NumberPad8: Self = _
pub const NumberPad9: Self = _
pub const Multiply: Self = _
pub const Add: Self = _
pub const Separator: Self = _
pub const Subtract: Self = _
pub const Decimal: Self = _
pub const Divide: Self = _
pub const F1: Self = _
pub const F2: Self = _
pub const F3: Self = _
pub const F4: Self = _
pub const F5: Self = _
pub const F6: Self = _
pub const F7: Self = _
pub const F8: Self = _
pub const F9: Self = _
pub const F10: Self = _
pub const F11: Self = _
pub const F12: Self = _
pub const F13: Self = _
pub const F14: Self = _
pub const F15: Self = _
pub const F16: Self = _
pub const F17: Self = _
pub const F18: Self = _
pub const F19: Self = _
pub const F20: Self = _
pub const F21: Self = _
pub const F22: Self = _
pub const F23: Self = _
pub const F24: Self = _
pub const NumberKeyLock: Self = _
pub const Scroll: Self = _
pub const LeftShift: Self = _
pub const RightShift: Self = _
pub const LeftControl: Self = _
pub const RightControl: Self = _
pub const LeftMenu: Self = _
pub const RightMenu: Self = _
pub const GoBack: Self = _
pub const GoForward: Self = _
pub const Refresh: Self = _
pub const Stop: Self = _
pub const Search: Self = _
pub const Favorites: Self = _
pub const GoHome: Self = _
pub const GamepadA: Self = _
pub const GamepadB: Self = _
pub const GamepadX: Self = _
pub const GamepadY: Self = _
pub const GamepadRightShoulder: Self = _
pub const GamepadLeftShoulder: Self = _
pub const GamepadLeftTrigger: Self = _
pub const GamepadRightTrigger: Self = _
pub const GamepadDPadUp: Self = _
pub const GamepadDPadDown: Self = _
pub const GamepadDPadLeft: Self = _
pub const GamepadDPadRight: Self = _
pub const GamepadMenu: Self = _
pub const GamepadView: Self = _
pub const GamepadLeftThumbstickButton: Self = _
pub const GamepadRightThumbstickButton: Self = _
pub const GamepadLeftThumbstickUp: Self = _
pub const GamepadLeftThumbstickDown: Self = _
pub const GamepadLeftThumbstickRight: Self = _
pub const GamepadLeftThumbstickLeft: Self = _
pub const GamepadRightThumbstickUp: Self = _
pub const GamepadRightThumbstickDown: Self = _
pub const GamepadRightThumbstickRight: Self = _
pub const GamepadRightThumbstickLeft: Self = _
Trait Implementations§
§impl Clone for VirtualKey
impl Clone for VirtualKey
§fn clone(&self) -> VirtualKey
fn clone(&self) -> VirtualKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for VirtualKey
impl Debug for VirtualKey
§impl Default for VirtualKey
impl Default for VirtualKey
§fn default() -> VirtualKey
fn default() -> VirtualKey
Returns the “default value” for a type. Read more
§impl PartialEq for VirtualKey
impl PartialEq for VirtualKey
§fn eq(&self, other: &VirtualKey) -> bool
fn eq(&self, other: &VirtualKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VirtualKey
impl Eq for VirtualKey
impl StructuralPartialEq for VirtualKey
Auto Trait Implementations§
impl Freeze for VirtualKey
impl RefUnwindSafe for VirtualKey
impl Send for VirtualKey
impl Sync for VirtualKey
impl Unpin for VirtualKey
impl UnwindSafe for VirtualKey
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)