pub struct Xlib {
pub XineramaIsActive: unsafe extern "C" fn(_: *mut Display) -> Bool,
pub XineramaQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool,
pub XineramaQueryScreens: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XineramaScreenInfo,
pub XineramaQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status,
pub XPanoramiXAllocInfo: unsafe extern "C" fn() -> *mut XPanoramiXInfo,
pub XPanoramiXGetScreenCount: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XPanoramiXInfo) -> Status,
pub XPanoramiXGetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_int, _: *mut XPanoramiXInfo) -> Status,
pub XPanoramiXGetState: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XPanoramiXInfo) -> Status,
pub XPanoramiXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool,
pub XPanoramiXQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status,
/* private fields */
}
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.