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

pub struct WaylandHandle {
    pub surface: *mut c_void,
    pub display: *mut c_void,
    // some fields omitted
}

Raw window handle for Wayland.

Construction

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

Fields

surface: *mut c_void

A pointer to a wl_surface.

display: *mut c_void

A pointer to a wl_display.

Methods

impl WaylandHandle[src]

pub fn empty() -> WaylandHandle[src]

Trait Implementations

impl Clone for WaylandHandle[src]

impl Copy for WaylandHandle[src]

impl Debug for WaylandHandle[src]

impl Eq for WaylandHandle[src]

impl Hash for WaylandHandle[src]

impl PartialEq<WaylandHandle> for WaylandHandle[src]

impl StructuralEq for WaylandHandle[src]

impl StructuralPartialEq for WaylandHandle[src]

Auto Trait Implementations

impl !Send for WaylandHandle

impl !Sync for WaylandHandle

impl Unpin for WaylandHandle

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.