Struct glutin::platform::unix::x11::ffi::XInput [−][src]
pub struct XInput {}Show fields
pub XAllowDeviceEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, u64) -> i32, pub XChangeDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, *mut XDeviceControl) -> i32, pub XChangeDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, i32, *mut u64, i32) -> i32, pub XChangeDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32, *mut u64, i32) -> i32, pub XChangeDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32, i32, *const u8, i32), pub XChangeFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, *mut XFeedbackControl) -> i32, pub XChangeKeyboardDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32, pub XChangePointerDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32) -> i32, pub XCloseDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32, pub XDeleteDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64), pub XDeviceBell: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32) -> i32, pub XFreeDeviceControl: unsafe extern "C" fn(*mut XDeviceControl), pub XFreeDeviceList: unsafe extern "C" fn(*mut XDeviceInfo), pub XFreeDeviceMotionEvents: unsafe extern "C" fn(*mut XDeviceTimeCoord), pub XFreeDeviceState: unsafe extern "C" fn(*mut XDeviceState), pub XFreeFeedbackList: unsafe extern "C" fn(*mut XFeedbackState), pub XGetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, u32) -> i32, pub XGetDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> *mut XDeviceControl, pub XGetDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64, pub XGetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u64, *mut i32, *mut u64) -> i32, pub XGetDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u8, i32, *mut i32) -> *mut u64, pub XGetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XModifierKeymap, pub XGetDeviceMotionEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, *mut i32, *mut i32, *mut i32) -> *mut XDeviceTimeCoord, pub XGetDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i64, i64, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32, pub XGetExtensionVersion: unsafe extern "C" fn(*mut _XDisplay, *const i8) -> *mut XExtensionVersion, pub XGetFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut XFeedbackState, pub XGetSelectedExtensionEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32, *mut *mut u64, *mut i32, *mut *mut u64) -> i32, pub XGrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, i32, i32, u64) -> i32, pub XGrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32, pub XGrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32, pub XListDeviceProperties: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut u64, pub XListInputDevices: unsafe extern "C" fn(*mut _XDisplay, *mut i32) -> *mut XDeviceInfo, pub XOpenDevice: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XDevice, pub XQueryDeviceState: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XDeviceState, pub XSelectExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, u64, *mut u64, i32) -> i32, pub XSendExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, *mut XEvent) -> i32, pub XSetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, i32) -> i32, pub XSetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, u64) -> i32, pub XSetDeviceMode: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> i32, pub XSetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut XModifierKeymap) -> i32, pub XSetDeviceValuators: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32, i32, i32) -> i32, pub XUngrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64) -> i32, pub XUngrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32, pub XUngrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32, // some fields omitted
Fields
XAllowDeviceEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, u64) -> i32
XChangeDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, *mut XDeviceControl) -> i32
XChangeDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, i32, *mut u64, i32) -> i32
XChangeDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32, *mut u64, i32) -> i32
XChangeDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32, i32, *const u8, i32)
XChangeFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, *mut XFeedbackControl) -> i32
XChangeKeyboardDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32
XChangePointerDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32, i32) -> i32
XCloseDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> i32
XDeleteDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64)
XDeviceBell: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, i32) -> i32
XFreeDeviceControl: unsafe extern "C" fn(*mut XDeviceControl)
XFreeDeviceList: unsafe extern "C" fn(*mut XDeviceInfo)
XFreeDeviceMotionEvents: unsafe extern "C" fn(*mut XDeviceTimeCoord)
XFreeDeviceState: unsafe extern "C" fn(*mut XDeviceState)
XFreeFeedbackList: unsafe extern "C" fn(*mut XFeedbackState)
XGetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, u32) -> i32
XGetDeviceControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> *mut XDeviceControl
XGetDeviceDontPropagateList: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64
XGetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u64, *mut i32, *mut u64) -> i32
XGetDeviceKeyMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u8, i32, *mut i32) -> *mut u64
XGetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XModifierKeymap
XGetDeviceMotionEvents: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, u64, *mut i32, *mut i32, *mut i32) -> *mut XDeviceTimeCoord
XGetDeviceProperty: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i64, i64, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32
XGetExtensionVersion: unsafe extern "C" fn(*mut _XDisplay, *const i8) -> *mut XExtensionVersion
XGetFeedbackControl: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut XFeedbackState
XGetSelectedExtensionEvents: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32, *mut *mut u64, *mut i32, *mut *mut u64) -> i32
XGrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, i32, i32, u64) -> i32
XGrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32
XGrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64, i32, u32, *mut u64, i32, i32) -> i32
XListDeviceProperties: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32) -> *mut u64
XListInputDevices: unsafe extern "C" fn(*mut _XDisplay, *mut i32) -> *mut XDeviceInfo
XOpenDevice: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XDevice
XQueryDeviceState: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice) -> *mut XDeviceState
XSelectExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, u64, *mut u64, i32) -> i32
XSendExtensionEvent: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, i32, *mut u64, *mut XEvent) -> i32
XSetDeviceButtonMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut u8, i32) -> i32
XSetDeviceFocus: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64, i32, u64) -> i32
XSetDeviceMode: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, i32) -> i32
XSetDeviceModifierMapping: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut XModifierKeymap) -> i32
XSetDeviceValuators: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, *mut i32, i32, i32) -> i32
XUngrabDevice: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u64) -> i32
XUngrabDeviceButton: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32
XUngrabDeviceKey: unsafe extern "C" fn(*mut _XDisplay, *mut XDevice, u32, u32, *mut XDevice, u64) -> i32
Implementations
impl XInput
[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>,