pub struct Xf86vmode {Show 15 fields
pub XTestCompareCurrentCursorWithWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int,
pub XTestCompareCursorWithWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int,
pub XTestDiscard: unsafe extern "C" fn(_: *mut Display) -> c_int,
pub XTestFakeButtonEvent: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeDeviceButtonEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeDeviceKeyEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeDeviceMotionEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeKeyEvent: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeMotionEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeProximityEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int,
pub XTestFakeRelativeMotionEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int,
pub XTestGrabControl: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
pub XTestQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int,
pub XTestSetGContextOfGC: unsafe extern "C" fn(_: GC, _: c_ulong),
pub XTestSetVisualIDOfVisual: unsafe extern "C" fn(_: *mut Visual, _: c_ulong),
/* private fields */
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.