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,
// some fields omitted
}
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.