pub struct Xext {
_private: (),
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,
}
Fields§
§_private: ()
§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§
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