[][src]Struct x11_dl::xinput2::XInput2

pub struct XInput2 {
    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_intXIAllowTouchEvents: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_uint, _: c_ulong, _: c_int) -> c_intXIBarrierReleasePointer: 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_intXIChangeProperty: 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_intXIDeleteProperty: 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_intXIGetFocus: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_ulong) -> c_intXIGetProperty: 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_intXIGetSelectedEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_int) -> *mut XIEventMaskXIGrabButton: 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_intXIGrabDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask) -> c_intXIGrabEnter: 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_intXIGrabFocusIn: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: c_int, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_intXIGrabKeycode: 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_intXIGrabTouchBegin: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIEventMask, _: c_int, _: *mut XIGrabModifiers) -> c_intXIListProperties: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut c_ulongXIQueryDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XIDeviceInfoXIQueryPointer: 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_intXIQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_intXISelectEvents: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XIEventMask, _: c_int) -> c_intXISetClientPointer: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int) -> c_intXISetFocus: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong) -> c_intXIUndefineCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_intXIUngrabButton: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_intXIUngrabDevice: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong) -> c_intXIUngrabEnter: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_intXIUngrabFocusIn: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_intXIUngrabKeycode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_intXIUngrabTouchBegin: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_int, _: *mut XIGrabModifiers) -> c_intXIWarpPointer: 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]

pub fn open() -> Result<XInput2, OpenError>[src]

Trait Implementations

impl Send for XInput2[src]

impl Sync for XInput2[src]

Auto Trait Implementations

impl RefUnwindSafe for XInput2

impl Unpin for XInput2

impl UnwindSafe for XInput2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.