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§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.