[][src]Struct webview2_sys::PhysicalKeyStatus

#[repr(C)]pub struct PhysicalKeyStatus {
    pub repeat_count: UINT32,
    pub scan_code: UINT32,
    pub is_extended_key: BOOL,
    pub is_menu_key_down: BOOL,
    pub was_key_down: BOOL,
    pub is_key_released: BOOL,
}

A structure representing the information packed into the LPARAM given to a Win32 key event. See the documentation for WM_KEYDOWN for details at https://docs.microsoft.com/windows/win32/inputdev/wm-keydown

Fields

repeat_count: UINT32

The repeat count for the current message.

scan_code: UINT32

The scan code.

is_extended_key: BOOL

Indicates whether the key is an extended key.

is_menu_key_down: BOOL

The context code.

was_key_down: BOOL

The previous key state.

is_key_released: BOOL

The transition state.

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.