[][src]Trait wayland_server::Interface

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

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

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...

Implementors

impl Interface for WlBuffer[src]

type Request = Request

type Event = Event

impl Interface for WlCallback[src]

type Request = Request

type Event = Event

impl Interface for WlCompositor[src]

type Request = Request

type Event = Event

impl Interface for WlDataDevice[src]

type Request = Request

type Event = Event

impl Interface for WlDataDeviceManager[src]

type Request = Request

type Event = Event

impl Interface for WlDataOffer[src]

type Request = Request

type Event = Event

impl Interface for WlDataSource[src]

type Request = Request

type Event = Event

impl Interface for WlKeyboard[src]

type Request = Request

type Event = Event

impl Interface for WlOutput[src]

type Request = Request

type Event = Event

impl Interface for WlPointer[src]

type Request = Request

type Event = Event

impl Interface for WlRegion[src]

type Request = Request

type Event = Event

impl Interface for WlSeat[src]

type Request = Request

type Event = Event

impl Interface for WlShell[src]

type Request = Request

type Event = Event

impl Interface for WlShellSurface[src]

type Request = Request

type Event = Event

impl Interface for WlShm[src]

type Request = Request

type Event = Event

impl Interface for WlShmPool[src]

type Request = Request

type Event = Event

impl Interface for WlSubcompositor[src]

type Request = Request

type Event = Event

impl Interface for WlSubsurface[src]

type Request = Request

type Event = Event

impl Interface for WlSurface[src]

type Request = Request

type Event = Event

impl Interface for WlTouch[src]

type Request = Request

type Event = Event

impl Interface for AnonymousObject[src]

type Request = NoMessage

type Event = NoMessage

Loading content...