Struct winit::os::unix::x11::XConnection [] [src]

pub struct XConnection {
    pub xlib: Xlib,
    pub xf86vmode: Xf86vmode,
    pub xcursor: Xcursor,
    pub xinput2: XInput2,
    pub xlib_xcb: Xlib_xcb,
    pub display: *mut Display,
    pub latest_error: Mutex<Option<XError>>,
}

A connection to an X server.

Fields

Methods

impl XConnection
[src]

Checks whether an error has been triggered by the previous function calls.

Ignores any previous error.

Trait Implementations

impl Send for XConnection
[src]

impl Sync for XConnection
[src]

impl Drop for XConnection
[src]

A method called when the value goes out of scope. Read more