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: u32

Specifies the repeat count for the current message.

scan_code: u32

Specifies the scan code.

is_extended_key: BOOL

Indicates that the key is an extended key.

is_menu_key_down: BOOL

Indicates that a menu key is held down (context code).

was_key_down: BOOL

Indicates that the key was held down.

is_key_released: BOOL

Indicates that the key was released.

Trait Implementations

impl Clone for PhysicalKeyStatus[src]

impl Copy for PhysicalKeyStatus[src]

impl Debug for PhysicalKeyStatus[src]

impl Eq for PhysicalKeyStatus[src]

impl PartialEq<PhysicalKeyStatus> for PhysicalKeyStatus[src]

impl StructuralEq for PhysicalKeyStatus[src]

impl StructuralPartialEq for PhysicalKeyStatus[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.