[−][src]Trait wayland_client::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
Associated Constants
const NAME: &'static str
Name of this interface
const VERSION: u32
Maximum supported version of this interface
Required methods
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface