[][src]Struct breadx::auto::xinput::KeyPressEvent

pub struct KeyPressEvent {
    pub event_type: u8,
    pub deviceid: DeviceId,
    pub sequence: u16,
    pub time: Timestamp,
    pub detail: u32,
    pub root: Window,
    pub event: Window,
    pub child: Window,
    pub root_x: Fp1616,
    pub root_y: Fp1616,
    pub event_x: Fp1616,
    pub event_y: Fp1616,
    pub sourceid: DeviceId,
    pub flags: KeyEventFlags,
    pub mods: ModifierInfo,
    pub group: GroupInfo,
    pub button_mask: Vec<u32>,
    pub valuator_mask: Vec<u32>,
    pub axisvalues: Vec<Fp3232>,
}

Fields

event_type: u8deviceid: DeviceIdsequence: u16time: Timestampdetail: u32root: Windowevent: Windowchild: Windowroot_x: Fp1616root_y: Fp1616event_x: Fp1616event_y: Fp1616sourceid: DeviceIdflags: KeyEventFlagsmods: ModifierInfogroup: GroupInfobutton_mask: Vec<u32>valuator_mask: Vec<u32>axisvalues: Vec<Fp3232>

Trait Implementations

impl AsByteSequence for KeyPressEvent[src]

impl Clone for KeyPressEvent[src]

impl Debug for KeyPressEvent[src]

impl Default for KeyPressEvent[src]

impl Event for KeyPressEvent[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.