Struct x11_dl::xfixes::Xlib

source ·
pub struct Xlib {
Show 35 fields pub XFixesQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool, pub XFixesQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *const c_int) -> Status, pub XFixesVersion: unsafe extern "C" fn() -> c_int, pub XFixesChangeSaveSet: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int), pub XFixesSelectSelectionInput: unsafe extern "C" fn(_: *mut Display, _: Window, _: Atom, _: c_ulong), pub XFixesSelectCursorInput: unsafe extern "C" fn(_: Display, _: Window, _: c_ulong), pub XFixesGetCursorImage: unsafe extern "C" fn(_: *mut Display) -> *mut XFixesCursorImage, pub XFixesCreateRegion: unsafe extern "C" fn(_: *mut Display, _: *mut XRectangle, _: c_int) -> XserverRegion, pub XFixesCreateRegionFromBitmap: unsafe extern "C" fn(_: *mut Display, _: Pixmap) -> XserverRegion, pub XFixesCreateRegionFromWindow: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int) -> XserverRegion, pub XFixesCreateRegionFromGC: unsafe extern "C" fn(_: *mut Display, _: GC) -> XserverRegion, pub XFixesCreateRegionFromPicture: unsafe extern "C" fn(_: *mut Display, _: XID) -> XserverRegion, pub XFixesDestroyRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion), pub XFixesSetRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut XRectangle, _: c_int), pub XFixesCopyRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion), pub XFixesUnionRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: XserverRegion), pub XFixesIntersectRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: XserverRegion), pub XFixesSubtractRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: XserverRegion), pub XFixesInvertRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut XRectangle, _: XserverRegion), pub XFixesTranslateRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: c_int, _: c_int), pub XFixesRegionExtents: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion), pub XFixesFetchRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut c_int) -> *mut XRectangle, pub XFixesFetchRegionAndBounds: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut c_int, _: *mut XRectangle) -> *mut XRectangle, pub XFixesSetGCClipRegion: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int, _: XserverRegion), pub XFixesSetWindowShapeRegion: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: XserverRegion), pub XFixesSetPictureClipRegion: unsafe extern "C" fn(_: *mut Display, _: XID, _: c_int, _: c_int, _: XserverRegion), pub XFixesSetCursorName: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: *const c_char), pub XFixesGetCursorName: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: *mut Atom) -> *const c_char, pub XFixesChangeCursor: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: Cursor), pub XFixesChangeCursorByName: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: *const c_char), pub XFixesExpandRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: c_uint, _: c_uint, _: c_uint, _: c_uint), pub XFixesHideCursor: unsafe extern "C" fn(_: *mut Display, _: Window), pub XFixesShowCursor: unsafe extern "C" fn(_: *mut Display, _: Window), pub XFixesCreatePointerBarrier: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: *mut c_int) -> PointerBarrier, pub XFixesDestroyPointerBarrier: unsafe extern "C" fn(_: *mut Display, _: PointerBarrier), /* private fields */
}

Fields§

§XFixesQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool§XFixesQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *const c_int) -> Status§XFixesVersion: unsafe extern "C" fn() -> c_int§XFixesChangeSaveSet: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int)§XFixesSelectSelectionInput: unsafe extern "C" fn(_: *mut Display, _: Window, _: Atom, _: c_ulong)§XFixesSelectCursorInput: unsafe extern "C" fn(_: Display, _: Window, _: c_ulong)§XFixesGetCursorImage: unsafe extern "C" fn(_: *mut Display) -> *mut XFixesCursorImage§XFixesCreateRegion: unsafe extern "C" fn(_: *mut Display, _: *mut XRectangle, _: c_int) -> XserverRegion§XFixesCreateRegionFromBitmap: unsafe extern "C" fn(_: *mut Display, _: Pixmap) -> XserverRegion§XFixesCreateRegionFromWindow: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int) -> XserverRegion§XFixesCreateRegionFromGC: unsafe extern "C" fn(_: *mut Display, _: GC) -> XserverRegion§XFixesCreateRegionFromPicture: unsafe extern "C" fn(_: *mut Display, _: XID) -> XserverRegion§XFixesDestroyRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion)§XFixesSetRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut XRectangle, _: c_int)§XFixesCopyRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion)§XFixesUnionRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: XserverRegion)§XFixesIntersectRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: XserverRegion)§XFixesSubtractRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: XserverRegion)§XFixesInvertRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut XRectangle, _: XserverRegion)§XFixesTranslateRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: c_int, _: c_int)§XFixesRegionExtents: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion)§XFixesFetchRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut c_int) -> *mut XRectangle§XFixesFetchRegionAndBounds: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: *mut c_int, _: *mut XRectangle) -> *mut XRectangle§XFixesSetGCClipRegion: unsafe extern "C" fn(_: *mut Display, _: GC, _: c_int, _: c_int, _: XserverRegion)§XFixesSetWindowShapeRegion: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: XserverRegion)§XFixesSetPictureClipRegion: unsafe extern "C" fn(_: *mut Display, _: XID, _: c_int, _: c_int, _: XserverRegion)§XFixesSetCursorName: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: *const c_char)§XFixesGetCursorName: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: *mut Atom) -> *const c_char§XFixesChangeCursor: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: Cursor)§XFixesChangeCursorByName: unsafe extern "C" fn(_: *mut Display, _: Cursor, _: *const c_char)§XFixesExpandRegion: unsafe extern "C" fn(_: *mut Display, _: XserverRegion, _: XserverRegion, _: c_uint, _: c_uint, _: c_uint, _: c_uint)§XFixesHideCursor: unsafe extern "C" fn(_: *mut Display, _: Window)§XFixesShowCursor: unsafe extern "C" fn(_: *mut Display, _: Window)§XFixesCreatePointerBarrier: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: *mut c_int) -> PointerBarrier§XFixesDestroyPointerBarrier: unsafe extern "C" fn(_: *mut Display, _: PointerBarrier)

Implementations§

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Xlib

§

impl RefUnwindSafe for Xlib

§

impl Unpin for Xlib

§

impl UnwindSafe for Xlib

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>,

source§

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>,

source§

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.