Struct x11_dl::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
§valuators: XIValuatorState
§mods: XIModifierState
§group: XIGroupState
Trait Implementations§
source§impl Clone for XIDeviceEvent
impl Clone for XIDeviceEvent
source§impl Debug for XIDeviceEvent
impl Debug for XIDeviceEvent
source§impl Default for XIDeviceEvent
impl Default for XIDeviceEvent
impl Copy for XIDeviceEvent
Auto Trait Implementations§
impl Freeze for XIDeviceEvent
impl RefUnwindSafe for XIDeviceEvent
impl !Send for XIDeviceEvent
impl !Sync for XIDeviceEvent
impl Unpin for XIDeviceEvent
impl UnwindSafe for XIDeviceEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)