pub struct XInput2 {Show 34 fields
pub XIAllowEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong) -> c_int,
pub XIAllowTouchEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong, _: c_int) -> c_int,
pub XIBarrierReleasePointer: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_uint),
pub XIBarrierReleasePointers: unsafe extern "C" fn(_: *mut Display, _: *mut XIBarrierReleasePointerInfo, _: c_int),
pub XIChangeHierarchy: unsafe extern "C" fn(_: *mut Display, _: *mut XIAnyHierarchyChangeInfo, _: c_int) -> c_int,
pub XIChangeProperty: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *mut c_uchar, _: c_int),
pub XIDefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong) -> c_int,
pub XIDeleteProperty: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong),
pub XIFreeDeviceInfo: unsafe extern "C" fn(_: *mut XIDeviceInfo),
pub XIGetClientPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> c_int,
pub XIGetFocus: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_ulong) -> c_int,
pub XIGetProperty: unsafe extern "C" fn(_: *mut Display, _: c_int, _: 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 XIGetSelectedEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut XIEventMask,
pub XIGrabButton: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIGrabDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask) -> c_int,
pub XIGrabEnter: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIGrabFocusIn: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIGrabKeycode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIGrabTouchBegin: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIListProperties: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut c_ulong,
pub XIQueryDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XIDeviceInfo,
pub XIQueryPointer: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_ulong, _: *mut c_double, _: *mut c_double, _: *mut c_double, _: *mut c_double, _: *mut XIButtonState, _: *mut XIModifierState, _: *mut XIModifierState) -> c_int,
pub XIQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
pub XISelectEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XIEventMask, _: c_int) -> c_int,
pub XISetClientPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int,
pub XISetFocus: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong) -> c_int,
pub XIUndefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_int,
pub XIUngrabButton: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_int,
pub XIUngrabEnter: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIUngrabFocusIn: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIUngrabKeycode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIUngrabTouchBegin: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int,
pub XIWarpPointer: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_double, _: c_double, _: c_uint, _: c_uint, _: c_double, _: c_double) -> c_int,
/* private fields */
}
Fields§
§XIAllowEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong) -> c_int
§XIAllowTouchEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong, _: c_int) -> c_int
§XIBarrierReleasePointer: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_uint)
§XIBarrierReleasePointers: unsafe extern "C" fn(_: *mut Display, _: *mut XIBarrierReleasePointerInfo, _: c_int)
§XIChangeHierarchy: unsafe extern "C" fn(_: *mut Display, _: *mut XIAnyHierarchyChangeInfo, _: c_int) -> c_int
§XIChangeProperty: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: *mut c_uchar, _: c_int)
§XIDefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong) -> c_int
§XIDeleteProperty: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong)
§XIFreeDeviceInfo: unsafe extern "C" fn(_: *mut XIDeviceInfo)
§XIGetClientPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> c_int
§XIGetFocus: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_ulong) -> c_int
§XIGetProperty: unsafe extern "C" fn(_: *mut Display, _: c_int, _: 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
§XIGetSelectedEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut XIEventMask
§XIGrabButton: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIGrabDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask) -> c_int
§XIGrabEnter: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIGrabFocusIn: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIGrabKeycode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIGrabTouchBegin: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIListProperties: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut c_ulong
§XIQueryDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XIDeviceInfo
§XIQueryPointer: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: *mut c_ulong, _: *mut c_ulong, _: *mut c_double, _: *mut c_double, _: *mut c_double, _: *mut c_double, _: *mut XIButtonState, _: *mut XIModifierState, _: *mut XIModifierState) -> c_int
§XIQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int
§XISelectEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XIEventMask, _: c_int) -> c_int
§XISetClientPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_int
§XISetFocus: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong) -> c_int
§XIUndefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_int
§XIUngrabButton: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_int
§XIUngrabEnter: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIUngrabFocusIn: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIUngrabKeycode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIUngrabTouchBegin: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_int
§XIWarpPointer: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_double, _: c_double, _: c_uint, _: c_uint, _: c_double, _: c_double) -> c_int
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XInput2
impl RefUnwindSafe for XInput2
impl Unpin for XInput2
impl UnwindSafe for XInput2
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