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
valuators: XIValuatorState
mods: XIModifierState
group: XIGroupState
Trait Implementations
sourceimpl Clone for XIDeviceEvent
impl Clone for XIDeviceEvent
sourceimpl Debug for XIDeviceEvent
impl Debug for XIDeviceEvent
sourceimpl Default for XIDeviceEvent
impl Default for XIDeviceEvent
impl Copy for XIDeviceEvent
Auto Trait Implementations
impl RefUnwindSafe for XIDeviceEvent
impl !Send for XIDeviceEvent
impl !Sync for XIDeviceEvent
impl Unpin for XIDeviceEvent
impl UnwindSafe for XIDeviceEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more