[][src]Struct raw_window_handle::unix::WaylandHandle

pub struct WaylandHandle {
    pub surface: *mut c_void,
    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 Wayland.

Construction

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

Fields

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

A pointer to a wl_surface.

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

A pointer to a wl_display.

Methods

impl WaylandHandle[src]

pub fn empty() -> WaylandHandle[src]

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

Trait Implementations

impl Debug for WaylandHandle[src]

impl PartialEq<WaylandHandle> for WaylandHandle[src]

impl Eq for WaylandHandle[src]

impl Hash for WaylandHandle[src]

impl Copy for WaylandHandle[src]

impl StructuralPartialEq for WaylandHandle[src]

impl StructuralEq for WaylandHandle[src]

impl Clone for WaylandHandle[src]

Auto Trait Implementations

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]