Struct x11::xinput2::XIDeviceEvent[][src]

#[repr(C)]
pub struct XIDeviceEvent {
Show 22 fields pub _type: c_int, pub serial: c_ulong, pub send_event: c_int, pub display: *mut Display, pub extension: c_int, pub evtype: c_int, pub time: Time, pub deviceid: c_int, pub sourceid: c_int, pub detail: c_int, pub root: Window, pub event: Window, pub child: Window, pub root_x: c_double, pub root_y: c_double, pub event_x: c_double, pub event_y: c_double, pub flags: c_int, pub buttons: XIButtonState, pub valuators: XIValuatorState, pub mods: XIModifierState, pub group: XIGroupState,
}

Fields

_type: c_intserial: c_ulongsend_event: c_intdisplay: *mut Displayextension: c_intevtype: c_inttime: Timedeviceid: c_intsourceid: c_intdetail: c_introot: Windowevent: Windowchild: Windowroot_x: c_doubleroot_y: c_doubleevent_x: c_doubleevent_y: c_doubleflags: c_intbuttons: XIButtonStatevaluators: XIValuatorStatemods: XIModifierStategroup: XIGroupState

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.