Struct webview2_sys::PhysicalKeyStatus [−][src]
#[repr(C)]pub struct PhysicalKeyStatus { pub repeat_count: u32, pub scan_code: u32, pub is_extended_key: BOOL, pub is_menu_key_down: BOOL, pub was_key_down: BOOL, pub is_key_released: BOOL, }
Contains the information packed into the LPARAM sent to a Win32 key
event. For more information about WM_KEYDOWN, navigate to
[WM_KEYDOWN message][WindowsWin32InputdevWmKeydown].
[WindowsWin32InputdevWmKeydown]: /windows/win32/inputdev/wm-keydown “WM_KEYDOWN message | Microsoft Docs”
Fields
repeat_count: u32Specifies the repeat count for the current message.
scan_code: u32Specifies the scan code.
is_extended_key: BOOLIndicates that the key is an extended key.
Indicates that a menu key is held down (context code).
was_key_down: BOOLIndicates that the key was held down.
is_key_released: BOOLIndicates that the key was released.
Trait Implementations
impl Clone for PhysicalKeyStatus[src]
impl Clone for PhysicalKeyStatus[src]fn clone(&self) -> PhysicalKeyStatus[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PhysicalKeyStatus[src]
impl Copy for PhysicalKeyStatus[src]impl Eq for PhysicalKeyStatus[src]
impl Eq for PhysicalKeyStatus[src]impl PartialEq<PhysicalKeyStatus> for PhysicalKeyStatus[src]
impl PartialEq<PhysicalKeyStatus> for PhysicalKeyStatus[src]fn eq(&self, other: &PhysicalKeyStatus) -> bool[src]
fn ne(&self, other: &PhysicalKeyStatus) -> bool[src]
impl StructuralEq for PhysicalKeyStatus[src]
impl StructuralEq for PhysicalKeyStatus[src]Auto Trait Implementations
impl RefUnwindSafe for PhysicalKeyStatus
impl RefUnwindSafe for PhysicalKeyStatusimpl Send for PhysicalKeyStatus
impl Send for PhysicalKeyStatusimpl Sync for PhysicalKeyStatus
impl Sync for PhysicalKeyStatusimpl Unpin for PhysicalKeyStatus
impl Unpin for PhysicalKeyStatusimpl UnwindSafe for PhysicalKeyStatus
impl UnwindSafe for PhysicalKeyStatus