[][src]Trait wayland_client::Interface

pub trait Interface: 'static {
    type Request: 'static + MessageGroup;
    type Event: 'static + MessageGroup;

    const NAME: &'static str;
    const VERSION: u32;

    fn c_interface() -> *const wl_interface;
}

The description of a wayland interface

Implementations of this trait are supposed to be generated using the wayland-scanner crate.

Associated Types

type Request: 'static + MessageGroup

Set of requests associated to this interface

Requests are messages from the client to the server

type Event: 'static + MessageGroup

Set of events associated to this interface

Events are messages from the server to the client

Loading content...

Associated Constants

const NAME: &'static str

Name of this interface

const VERSION: u32

Maximum supported version of this interface

Loading content...

Required methods

fn c_interface() -> *const wl_interface

Pointer to the C representation of this interface

Loading content...

Implementors

impl Interface for WlBuffer[src]

impl Interface for WlCallback[src]

impl Interface for WlCompositor[src]

impl Interface for WlDataDevice[src]

impl Interface for WlDataDeviceManager[src]

impl Interface for WlDataOffer[src]

impl Interface for WlDataSource[src]

impl Interface for WlDisplay[src]

impl Interface for WlKeyboard[src]

impl Interface for WlOutput[src]

impl Interface for WlPointer[src]

impl Interface for WlRegion[src]

impl Interface for WlRegistry[src]

impl Interface for WlSeat[src]

impl Interface for WlShell[src]

impl Interface for WlShellSurface[src]

impl Interface for WlShm[src]

impl Interface for WlShmPool[src]

impl Interface for WlSubcompositor[src]

impl Interface for WlSubsurface[src]

impl Interface for WlSurface[src]

impl Interface for WlTouch[src]

impl Interface for AnonymousObject[src]

Loading content...