Struct x11_dl::xinput2::XInput2

source ·
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§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.