Struct windows_sys::Win32::System::Console::KEY_EVENT_RECORD
[−]#[repr(C)]pub struct KEY_EVENT_RECORD {
pub bKeyDown: BOOL,
pub wRepeatCount: u16,
pub wVirtualKeyCode: u16,
pub wVirtualScanCode: u16,
pub uChar: KEY_EVENT_RECORD_0,
pub dwControlKeyState: u32,
}
Expand description
Required features: ‘Win32_System_Console’, ‘Win32_Foundation’
Fields
bKeyDown: BOOL
wRepeatCount: u16
wVirtualKeyCode: u16
wVirtualScanCode: u16
uChar: KEY_EVENT_RECORD_0
dwControlKeyState: u32
Trait Implementations
impl Clone for KEY_EVENT_RECORD
impl Clone for KEY_EVENT_RECORD
impl Copy for KEY_EVENT_RECORD
Auto Trait Implementations
impl RefUnwindSafe for KEY_EVENT_RECORD
impl Send for KEY_EVENT_RECORD
impl Sync for KEY_EVENT_RECORD
impl Unpin for KEY_EVENT_RECORD
impl UnwindSafe for KEY_EVENT_RECORD
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more