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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more