[][src]Struct x11_dl::xinerama::Xlib

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,
    // some fields omitted
}

Fields

XineramaIsActive: unsafe extern "C" fn(_: *mut Display) -> BoolXineramaQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> BoolXineramaQueryScreens: unsafe extern "C" fn(_: *mut Display, _: *mut c_int) -> *mut XineramaScreenInfoXineramaQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> StatusXPanoramiXAllocInfo: unsafe extern "C" fn() -> *mut XPanoramiXInfoXPanoramiXGetScreenCount: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XPanoramiXInfo) -> StatusXPanoramiXGetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_int, _: *mut XPanoramiXInfo) -> StatusXPanoramiXGetState: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XPanoramiXInfo) -> StatusXPanoramiXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> BoolXPanoramiXQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status

Implementations

impl Xlib[src]

pub fn open() -> Result<Xlib, OpenError>[src]

Trait Implementations

impl Send for Xlib[src]

impl Sync for Xlib[src]

Auto Trait Implementations

impl RefUnwindSafe for Xlib

impl Unpin for Xlib

impl UnwindSafe for Xlib

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.