Struct x11_dl::xinput2::XInput2 [−][src]
pub struct XInput2 {}Show 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, // some fields omitted
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
impl XInput2
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,