Struct x11_dl::xtest::Xf86vmode

source ·
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 */
}

Fields§

§XTestCompareCurrentCursorWithWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_int§XTestCompareCursorWithWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong) -> c_int§XTestDiscard: unsafe extern "C" fn(_: *mut Display) -> c_int§XTestFakeButtonEvent: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_int, _: c_ulong) -> c_int§XTestFakeDeviceButtonEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int§XTestFakeDeviceKeyEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_uint, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int§XTestFakeDeviceMotionEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int§XTestFakeKeyEvent: unsafe extern "C" fn(_: *mut Display, _: c_uint, _: c_int, _: c_ulong) -> c_int§XTestFakeMotionEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int§XTestFakeProximityEvent: unsafe extern "C" fn(_: *mut Display, _: *mut XDevice, _: c_int, _: *mut c_int, _: c_int, _: c_ulong) -> c_int§XTestFakeRelativeMotionEvent: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int, _: c_ulong) -> c_int§XTestGrabControl: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int§XTestQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> c_int§XTestSetGContextOfGC: unsafe extern "C" fn(_: GC, _: c_ulong)§XTestSetVisualIDOfVisual: unsafe extern "C" fn(_: *mut Visual, _: c_ulong)

Implementations§

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
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.