Struct x11::xinput2::XIDeviceEvent

source ·
#[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_int§serial: c_ulong§send_event: c_int§display: *mut Display§extension: c_int§evtype: c_int§time: Time§deviceid: c_int§sourceid: c_int§detail: c_int§root: Window§event: Window§child: Window§root_x: c_double§root_y: c_double§event_x: c_double§event_y: c_double§flags: c_int§buttons: XIButtonState§valuators: XIValuatorState§mods: XIModifierState§group: 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.