Struct x11_dl::xshm::Xext

source ·
pub struct Xext {
    pub XShmQueryExtension: unsafe extern "C" fn(_: *mut Display) -> Bool,
    pub XShmGetEventBase: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XShmQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut Bool) -> Bool,
    pub XShmPixmapFormat: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XShmAttach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool,
    pub XShmDetach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool,
    pub XShmPutImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: GC, _: *mut XImage, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint, _: Bool) -> Bool,
    pub XShmGetImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XImage, _: c_int, _: c_int, _: c_uint) -> Bool,
    pub XShmCreateImage: unsafe extern "C" fn(_: *mut Display, _: *mut Visual, _: c_uint, _: c_int, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint) -> *mut XImage,
    pub XShmCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint, _: c_uint) -> Pixmap,
    /* private fields */
}

Fields§

§XShmQueryExtension: unsafe extern "C" fn(_: *mut Display) -> Bool§XShmGetEventBase: unsafe extern "C" fn(_: *mut Display) -> c_int§XShmQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut Bool) -> Bool§XShmPixmapFormat: unsafe extern "C" fn(_: *mut Display) -> c_int§XShmAttach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool§XShmDetach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool§XShmPutImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: GC, _: *mut XImage, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint, _: Bool) -> Bool§XShmGetImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XImage, _: c_int, _: c_int, _: c_uint) -> Bool§XShmCreateImage: unsafe extern "C" fn(_: *mut Display, _: *mut Visual, _: c_uint, _: c_int, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint) -> *mut XImage§XShmCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint, _: c_uint) -> Pixmap

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.