[][src]Struct webview2::PhysicalKeyStatus

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

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

The repeat count for the current message.

scan_code: u32

The scan code.

is_extended_key: i32

Indicates whether the key is an extended key.

is_menu_key_down: i32

The context code.

was_key_down: i32

The previous key state.

is_key_released: i32

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.