[][src]Struct raw_window_handle::unix::XlibHandle

pub struct XlibHandle {
    pub window: c_ulong,
    pub display: *mut c_void,
    // some fields omitted
}
This is supported on Linux or DragonFly BSD or FreeBSD or NetBSD or OpenBSD only.

Raw window handle for Xlib.

Construction

let handle = XlibHandle {
    /* fields */
    ..XlibHandle::empty()
};

Fields

window: c_ulong
This is supported on Linux or DragonFly BSD or FreeBSD or NetBSD or OpenBSD only.

An Xlib Window.

display: *mut c_void
This is supported on Linux or DragonFly BSD or FreeBSD or NetBSD or OpenBSD only.

A pointer to an Xlib Display.

Methods

impl XlibHandle[src]

pub fn empty() -> XlibHandle[src]

This is supported on Linux or DragonFly BSD or FreeBSD or NetBSD or OpenBSD only.

Trait Implementations

impl Debug for XlibHandle[src]

impl PartialEq<XlibHandle> for XlibHandle[src]

impl Eq for XlibHandle[src]

impl Hash for XlibHandle[src]

impl Copy for XlibHandle[src]

impl StructuralPartialEq for XlibHandle[src]

impl StructuralEq for XlibHandle[src]

impl Clone for XlibHandle[src]

Auto Trait Implementations

impl Unpin for XlibHandle

impl !Send for XlibHandle

impl !Sync for XlibHandle

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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