Trait wayland_server::Interface
source · pub trait Interface: 'static {
type Request: 'static + MessageGroup;
type Event: 'static + MessageGroup;
const NAME: &'static str;
const VERSION: u32;
}
Expand description
The description of a wayland interface
Implementations of this trait are supposed to be
generated using the wayland-scanner
crate.
Required Associated Types
sourcetype Request: 'static + MessageGroup
type Request: 'static + MessageGroup
Set of requests associated to this interface
Requests are messages from the client to the server
sourcetype Event: 'static + MessageGroup
type Event: 'static + MessageGroup
Set of events associated to this interface
Events are messages from the server to the client