pub struct XInput {Show 44 fields
pub XAllowDeviceEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_ulong) -> c_int,
pub XChangeDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: *mut XDeviceControl) -> c_int,
pub XChangeDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_int) -> c_int,
pub XChangeDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int, _: *mut c_ulong, _: c_int) -> c_int,
pub XChangeDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *const c_uchar, _: c_int),
pub XChangeFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: *mut XFeedbackControl) -> c_int,
pub XChangeKeyboardDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_int,
pub XChangePointerDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int) -> c_int,
pub XCloseDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_int,
pub XDeleteDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong),
pub XDeviceBell: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int) -> c_int,
pub XFreeDeviceControl: unsafe extern "C" fn(_: *mut XDeviceControl),
pub XFreeDeviceList: unsafe extern "C" fn(_: *mut XDeviceInfo),
pub XFreeDeviceMotionEvents: unsafe extern "C" fn(_: *mut XDeviceTimeCoord),
pub XFreeDeviceState: unsafe extern "C" fn(_: *mut XDeviceState),
pub XFreeFeedbackList: unsafe extern "C" fn(_: *mut XFeedbackState),
pub XGetDeviceButtonMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_uchar, _: c_uint) -> c_int,
pub XGetDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> *mut XDeviceControl,
pub XGetDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulong,
pub XGetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong) -> c_int,
pub XGetDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uchar, _: c_int, _: *mut c_int) -> *mut c_ulong,
pub XGetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XModifierKeymap,
pub XGetDeviceMotionEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> *mut XDeviceTimeCoord,
pub XGetDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_long, _: c_long, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int,
pub XGetExtensionVersion: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XExtensionVersion,
pub XGetFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut XFeedbackState,
pub XGetSelectedExtensionEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int, _: *mut *mut c_ulong, _: *mut c_int, _: *mut *mut c_ulong) -> c_int,
pub XGrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: c_int, _: c_int, _: c_ulong) -> c_int,
pub XGrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_int,
pub XGrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_int,
pub XListDeviceProperties: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut c_ulong,
pub XListInputDevices: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XDeviceInfo,
pub XOpenDevice: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XDevice,
pub XQueryDeviceState: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XDeviceState,
pub XSelectExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_int,
pub XSendExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: *mut XEvent) -> c_int,
pub XSetDeviceButtonMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_uchar, _: c_int) -> c_int,
pub XSetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_ulong) -> c_int,
pub XSetDeviceMode: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> c_int,
pub XSetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut XModifierKeymap) -> c_int,
pub XSetDeviceValuators: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int, _: c_int, _: c_int) -> c_int,
pub XUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong) -> c_int,
pub XUngrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int,
pub XUngrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int,
/* private fields */
}
Fields§
§XAllowDeviceEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_ulong) -> c_int
§XChangeDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: *mut XDeviceControl) -> c_int
§XChangeDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_ulong, _: c_int) -> c_int
§XChangeDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int, _: *mut c_ulong, _: c_int) -> c_int
§XChangeDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *const c_uchar, _: c_int)
§XChangeFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: *mut XFeedbackControl) -> c_int
§XChangeKeyboardDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_int
§XChangePointerDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int) -> c_int
§XCloseDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> c_int
§XDeleteDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong)
§XDeviceBell: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: c_int) -> c_int
§XFreeDeviceControl: unsafe extern "C" fn(_: *mut XDeviceControl)
§XFreeDeviceList: unsafe extern "C" fn(_: *mut XDeviceInfo)
§XFreeDeviceMotionEvents: unsafe extern "C" fn(_: *mut XDeviceTimeCoord)
§XFreeDeviceState: unsafe extern "C" fn(_: *mut XDeviceState)
§XFreeFeedbackList: unsafe extern "C" fn(_: *mut XFeedbackState)
§XGetDeviceButtonMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_uchar, _: c_uint) -> c_int
§XGetDeviceControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> *mut XDeviceControl
§XGetDeviceDontPropagateList: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut c_ulong
§XGetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong) -> c_int
§XGetDeviceKeyMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uchar, _: c_int, _: *mut c_int) -> *mut c_ulong
§XGetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XModifierKeymap
§XGetDeviceMotionEvents: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_ulong, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> *mut XDeviceTimeCoord
§XGetDeviceProperty: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_long, _: c_long, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int
§XGetExtensionVersion: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XExtensionVersion
§XGetFeedbackControl: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut XFeedbackState
§XGetSelectedExtensionEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int, _: *mut *mut c_ulong, _: *mut c_int, _: *mut *mut c_ulong) -> c_int
§XGrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: c_int, _: c_int, _: c_ulong) -> c_int
§XGrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_int
§XGrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong, _: c_int, _: c_uint, _: *mut c_ulong, _: c_int, _: c_int) -> c_int
§XListDeviceProperties: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int) -> *mut c_ulong
§XListInputDevices: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XDeviceInfo
§XOpenDevice: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XDevice
§XQueryDeviceState: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice) -> *mut XDeviceState
§XSelectExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong, _: c_int) -> c_int
§XSendExtensionEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_int, _: *mut c_ulong, _: *mut XEvent) -> c_int
§XSetDeviceButtonMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_uchar, _: c_int) -> c_int
§XSetDeviceFocus: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong, _: c_int, _: c_ulong) -> c_int
§XSetDeviceMode: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int) -> c_int
§XSetDeviceModifierMapping: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut XModifierKeymap) -> c_int
§XSetDeviceValuators: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: *mut c_int, _: c_int, _: c_int) -> c_int
§XUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_ulong) -> c_int
§XUngrabDeviceButton: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int
§XUngrabDeviceKey: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_uint, _: *mut XDevice, _: c_ulong) -> c_int
Implementations§
Trait Implementations§
Auto Trait Implementations§
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