Struct x11rb::protocol::xinput::EnterEvent[][src]

pub struct EnterEvent {
    pub response_type: u8,
    pub extension: u8,
    pub sequence: u16,
    pub length: u32,
    pub event_type: u16,
    pub deviceid: DeviceId,
    pub time: Timestamp,
    pub sourceid: DeviceId,
    pub mode: NotifyMode,
    pub detail: NotifyDetail,
    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 same_screen: bool,
    pub focus: bool,
    pub mods: ModifierInfo,
    pub group: GroupInfo,
    pub buttons: Vec<u32>,
}

Fields

response_type: u8extension: u8sequence: u16length: u32event_type: u16deviceid: DeviceIdtime: Timestampsourceid: DeviceIdmode: NotifyModedetail: NotifyDetailroot: Windowevent: Windowchild: Windowroot_x: Fp1616root_y: Fp1616event_x: Fp1616event_y: Fp1616same_screen: boolfocus: boolmods: ModifierInfogroup: GroupInfobuttons: Vec<u32>

Implementations

impl EnterEvent[src]

pub fn buttons_len(&self) -> u16[src]

Get the value of the buttons_len field.

The buttons_len field is used as the length field of the buttons field. This function computes the field’s value again based on the length of the list.

Panics

Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.

Trait Implementations

impl Clone for EnterEvent[src]

impl Debug for EnterEvent[src]

impl Eq for EnterEvent[src]

impl PartialEq<EnterEvent> for EnterEvent[src]

impl StructuralEq for EnterEvent[src]

impl StructuralPartialEq for EnterEvent[src]

impl TryParse for EnterEvent[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.

impl<T> TryParseFd for T where
    T: TryParse
[src]