Struct glutin::platform::unix::x11::ffi::XInput2[][src]

pub struct XInput2 {
Show fields pub XIAllowEvents: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64) -> i32, pub XIAllowTouchEvents: unsafe extern "C" fn(*mut _XDisplay, i32, u32, u64, i32) -> i32, pub XIBarrierReleasePointer: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u32), pub XIBarrierReleasePointers: unsafe extern "C" fn(*mut _XDisplay, *mut XIBarrierReleasePointerInfo, i32), pub XIChangeHierarchy: unsafe extern "C" fn(*mut _XDisplay, *mut XIAnyHierarchyChangeInfo, i32) -> i32, pub XIChangeProperty: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, i32, i32, *mut u8, i32), pub XIDefineCursor: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64) -> i32, pub XIDeleteProperty: unsafe extern "C" fn(*mut _XDisplay, i32, u64), pub XIFreeDeviceInfo: unsafe extern "C" fn(*mut XIDeviceInfo), pub XIGetClientPointer: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> i32, pub XIGetFocus: unsafe extern "C" fn(*mut _XDisplay, i32, *mut u64) -> i32, pub XIGetProperty: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i64, i64, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32, pub XIGetSelectedEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut XIEventMask, pub XIGrabButton: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32, pub XIGrabDevice: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, u64, i32, i32, i32, *mut XIEventMask) -> i32, pub XIGrabEnter: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32, pub XIGrabFocusIn: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32, pub XIGrabKeycode: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32, pub XIGrabTouchBegin: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32, pub XIListProperties: unsafe extern "C" fn(*mut _XDisplay, i32, *mut i32) -> *mut u64, pub XIQueryDevice: unsafe extern "C" fn(*mut _XDisplay, i32, *mut i32) -> *mut XIDeviceInfo, pub XIQueryPointer: unsafe extern "C" fn(*mut _XDisplay, i32, u64, *mut u64, *mut u64, *mut f64, *mut f64, *mut f64, *mut f64, *mut XIButtonState, *mut XIModifierState, *mut XIModifierState) -> i32, pub XIQueryVersion: unsafe extern "C" fn(*mut _XDisplay, *mut i32, *mut i32) -> i32, pub XISelectEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XIEventMask, i32) -> i32, pub XISetClientPointer: unsafe extern "C" fn(*mut _XDisplay, u64, i32) -> i32, pub XISetFocus: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64) -> i32, pub XIUndefineCursor: unsafe extern "C" fn(*mut _XDisplay, i32, u64) -> i32, pub XIUngrabButton: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, i32, *mut XIGrabModifiers) -> i32, pub XIUngrabDevice: unsafe extern "C" fn(*mut _XDisplay, i32, u64) -> i32, pub XIUngrabEnter: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIGrabModifiers) -> i32, pub XIUngrabFocusIn: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIGrabModifiers) -> i32, pub XIUngrabKeycode: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, i32, *mut XIGrabModifiers) -> i32, pub XIUngrabTouchBegin: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIGrabModifiers) -> i32, pub XIWarpPointer: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, f64, f64, u32, u32, f64, f64) -> i32, // some fields omitted
}

Fields

XIAllowEvents: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64) -> i32XIAllowTouchEvents: unsafe extern "C" fn(*mut _XDisplay, i32, u32, u64, i32) -> i32XIBarrierReleasePointer: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u32)XIBarrierReleasePointers: unsafe extern "C" fn(*mut _XDisplay, *mut XIBarrierReleasePointerInfo, i32)XIChangeHierarchy: unsafe extern "C" fn(*mut _XDisplay, *mut XIAnyHierarchyChangeInfo, i32) -> i32XIChangeProperty: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, i32, i32, *mut u8, i32)XIDefineCursor: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64) -> i32XIDeleteProperty: unsafe extern "C" fn(*mut _XDisplay, i32, u64)XIFreeDeviceInfo: unsafe extern "C" fn(*mut XIDeviceInfo)XIGetClientPointer: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> i32XIGetFocus: unsafe extern "C" fn(*mut _XDisplay, i32, *mut u64) -> i32XIGetProperty: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i64, i64, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32XIGetSelectedEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut XIEventMaskXIGrabButton: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32XIGrabDevice: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, u64, i32, i32, i32, *mut XIEventMask) -> i32XIGrabEnter: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32XIGrabFocusIn: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32XIGrabKeycode: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, i32, i32, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32XIGrabTouchBegin: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIEventMask, i32, *mut XIGrabModifiers) -> i32XIListProperties: unsafe extern "C" fn(*mut _XDisplay, i32, *mut i32) -> *mut u64XIQueryDevice: unsafe extern "C" fn(*mut _XDisplay, i32, *mut i32) -> *mut XIDeviceInfoXIQueryPointer: unsafe extern "C" fn(*mut _XDisplay, i32, u64, *mut u64, *mut u64, *mut f64, *mut f64, *mut f64, *mut f64, *mut XIButtonState, *mut XIModifierState, *mut XIModifierState) -> i32XIQueryVersion: unsafe extern "C" fn(*mut _XDisplay, *mut i32, *mut i32) -> i32XISelectEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XIEventMask, i32) -> i32XISetClientPointer: unsafe extern "C" fn(*mut _XDisplay, u64, i32) -> i32XISetFocus: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64) -> i32XIUndefineCursor: unsafe extern "C" fn(*mut _XDisplay, i32, u64) -> i32XIUngrabButton: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, i32, *mut XIGrabModifiers) -> i32XIUngrabDevice: unsafe extern "C" fn(*mut _XDisplay, i32, u64) -> i32XIUngrabEnter: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIGrabModifiers) -> i32XIUngrabFocusIn: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIGrabModifiers) -> i32XIUngrabKeycode: unsafe extern "C" fn(*mut _XDisplay, i32, i32, u64, i32, *mut XIGrabModifiers) -> i32XIUngrabTouchBegin: unsafe extern "C" fn(*mut _XDisplay, i32, u64, i32, *mut XIGrabModifiers) -> i32XIWarpPointer: unsafe extern "C" fn(*mut _XDisplay, i32, u64, u64, f64, f64, u32, u32, f64, f64) -> i32

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.