Struct x11_dl::xinerama::Xlib

source ·
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 */
}

Fields§

§XineramaIsActive: unsafe extern "C" fn(_: *mut Display) -> Bool§XineramaQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool§XineramaQueryScreens: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XineramaScreenInfo§XineramaQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status§XPanoramiXAllocInfo: unsafe extern "C" fn() -> *mut XPanoramiXInfo§XPanoramiXGetScreenCount: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XPanoramiXInfo) -> Status§XPanoramiXGetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_int, _: *mut XPanoramiXInfo) -> Status§XPanoramiXGetState: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XPanoramiXInfo) -> Status§XPanoramiXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool§XPanoramiXQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status

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.