[][src]Struct raw_window_handle::unix::XcbHandle

pub struct XcbHandle {
    pub window: u32,
    pub connection: *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 Xcb.

Construction

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

Fields

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

An X11 xcb_window_t.

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

A pointer to an X server xcb_connection_t.

Methods

impl XcbHandle[src]

pub fn empty() -> XcbHandle[src]

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

Trait Implementations

impl Debug for XcbHandle[src]

impl PartialEq<XcbHandle> for XcbHandle[src]

impl Eq for XcbHandle[src]

impl Hash for XcbHandle[src]

impl Copy for XcbHandle[src]

impl StructuralPartialEq for XcbHandle[src]

impl StructuralEq for XcbHandle[src]

impl Clone for XcbHandle[src]

Auto Trait Implementations

impl Unpin for XcbHandle

impl !Send for XcbHandle

impl !Sync for XcbHandle

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]