Struct x11_dl::sync::Xext

source ·
pub struct Xext {
Show 38 fields pub XSyncQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status, pub XSyncInitialize: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status, pub XSyncListSystemCounters: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XSyncSystemCounter, pub XSyncFreeSystemCounterList: unsafe extern "C" fn(_: *mut XSyncSystemCounter), pub XSyncCreateCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncValue) -> XSyncCounter, pub XSyncSetCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter, _: XSyncValue) -> Status, pub XSyncChangeCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter, _: XSyncValue) -> Status, pub XSyncDestroyCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter) -> Status, pub XSyncQueryCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter, _: *mut XSyncValue) -> Status, pub XSyncAwait: unsafe extern "C" fn(_: *mut Display, _: *mut XSyncWaitCondition, _: c_int) -> Status, pub XSyncCreateAlarm: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSyncAlarmAttributes) -> XSyncAlarm, pub XSyncDestroyAlarm: unsafe extern "C" fn(_: *mut Display, _: XSyncAlarm) -> Status, pub XSyncQueryAlarm: unsafe extern "C" fn(_: *mut Display, _: XSyncAlarm, _: *mut XSyncAlarmAttributes) -> Status, pub XSyncChangeAlarm: unsafe extern "C" fn(_: *mut Display, _: XSyncAlarm, _: c_ulong, _: *mut XSyncAlarmAttributes) -> Status, pub XSyncSetPriority: unsafe extern "C" fn(_: *mut Display, _: XID, _: c_int) -> Status, pub XSyncGetPriority: unsafe extern "C" fn(_: *mut Display, _: XID, _: *mut c_int) -> Status, pub XSyncCreateFence: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: Bool) -> XSyncFence, pub XSyncTriggerFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence) -> Bool, pub XSyncResetFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence) -> Bool, pub XSyncDestroyFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence) -> Bool, pub XSyncQueryFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence, _: *mut Bool) -> Bool, pub XSyncAwaitFence: unsafe extern "C" fn(_: *mut Display, _: *const XSyncFence, _: c_int) -> Bool, pub XSyncIntToValue: unsafe extern "C" fn(_: *mut XSyncValue, _: c_int), pub XSyncIntsToValue: unsafe extern "C" fn(_: *mut XSyncValue, _: c_uint, _: c_int), pub XSyncValueGreaterThan: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool, pub XSyncValueLessThan: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool, pub XSyncValueGreaterOrEqual: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool, pub XSyncValueLessOrEqual: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool, pub XSyncValueEqual: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool, pub XSyncValueIsNegative: unsafe extern "C" fn(_: XSyncValue) -> Bool, pub XSyncValueIsZero: unsafe extern "C" fn(_: XSyncValue) -> Bool, pub XSyncValueIsPositive: unsafe extern "C" fn(_: XSyncValue) -> Bool, pub XSyncValueLow32: unsafe extern "C" fn(_: XSyncValue) -> c_uint, pub XSyncValueHigh32: unsafe extern "C" fn(_: XSyncValue) -> c_int, pub XSyncValueAdd: unsafe extern "C" fn(_: *mut XSyncValue, _: XSyncValue, _: XSyncValue, _: *mut c_int), pub XSyncValueSubtract: unsafe extern "C" fn(_: *mut XSyncValue, _: XSyncValue, _: XSyncValue, _: *mut c_int), pub XSyncMaxValue: unsafe extern "C" fn(_: *mut XSyncValue), pub XSyncMinValue: unsafe extern "C" fn(_: *mut XSyncValue), /* private fields */
}

Fields§

§XSyncQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status§XSyncInitialize: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status§XSyncListSystemCounters: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XSyncSystemCounter§XSyncFreeSystemCounterList: unsafe extern "C" fn(_: *mut XSyncSystemCounter)§XSyncCreateCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncValue) -> XSyncCounter§XSyncSetCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter, _: XSyncValue) -> Status§XSyncChangeCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter, _: XSyncValue) -> Status§XSyncDestroyCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter) -> Status§XSyncQueryCounter: unsafe extern "C" fn(_: *mut Display, _: XSyncCounter, _: *mut XSyncValue) -> Status§XSyncAwait: unsafe extern "C" fn(_: *mut Display, _: *mut XSyncWaitCondition, _: c_int) -> Status§XSyncCreateAlarm: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XSyncAlarmAttributes) -> XSyncAlarm§XSyncDestroyAlarm: unsafe extern "C" fn(_: *mut Display, _: XSyncAlarm) -> Status§XSyncQueryAlarm: unsafe extern "C" fn(_: *mut Display, _: XSyncAlarm, _: *mut XSyncAlarmAttributes) -> Status§XSyncChangeAlarm: unsafe extern "C" fn(_: *mut Display, _: XSyncAlarm, _: c_ulong, _: *mut XSyncAlarmAttributes) -> Status§XSyncSetPriority: unsafe extern "C" fn(_: *mut Display, _: XID, _: c_int) -> Status§XSyncGetPriority: unsafe extern "C" fn(_: *mut Display, _: XID, _: *mut c_int) -> Status§XSyncCreateFence: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: Bool) -> XSyncFence§XSyncTriggerFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence) -> Bool§XSyncResetFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence) -> Bool§XSyncDestroyFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence) -> Bool§XSyncQueryFence: unsafe extern "C" fn(_: *mut Display, _: XSyncFence, _: *mut Bool) -> Bool§XSyncAwaitFence: unsafe extern "C" fn(_: *mut Display, _: *const XSyncFence, _: c_int) -> Bool§XSyncIntToValue: unsafe extern "C" fn(_: *mut XSyncValue, _: c_int)§XSyncIntsToValue: unsafe extern "C" fn(_: *mut XSyncValue, _: c_uint, _: c_int)§XSyncValueGreaterThan: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool§XSyncValueLessThan: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool§XSyncValueGreaterOrEqual: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool§XSyncValueLessOrEqual: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool§XSyncValueEqual: unsafe extern "C" fn(_: XSyncValue, _: XSyncValue) -> Bool§XSyncValueIsNegative: unsafe extern "C" fn(_: XSyncValue) -> Bool§XSyncValueIsZero: unsafe extern "C" fn(_: XSyncValue) -> Bool§XSyncValueIsPositive: unsafe extern "C" fn(_: XSyncValue) -> Bool§XSyncValueLow32: unsafe extern "C" fn(_: XSyncValue) -> c_uint§XSyncValueHigh32: unsafe extern "C" fn(_: XSyncValue) -> c_int§XSyncValueAdd: unsafe extern "C" fn(_: *mut XSyncValue, _: XSyncValue, _: XSyncValue, _: *mut c_int)§XSyncValueSubtract: unsafe extern "C" fn(_: *mut XSyncValue, _: XSyncValue, _: XSyncValue, _: *mut c_int)§XSyncMaxValue: unsafe extern "C" fn(_: *mut XSyncValue)§XSyncMinValue: unsafe extern "C" fn(_: *mut XSyncValue)

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.