Expand description
This crate supplements skylane crate with bindings Wayland protocol automatically
generated from XML protocol description files.
This crate is planed to provide implementation for all (stable and unstable) protocols. If something is missing, let us know.
§Implementation
Each protocol description file contains requests (from client to server) and events (from server to client). In server part requests are translated to:
- interfaces - traits describing methods of a Wayland protocol object
- dispatchers - structures translating socket data to calls to methods on objects implementing appropriate interface. while events to stand-alone functions. On client side vice-versa.
Handler structure helps bind Dispatcher with implementation of its Interface to
register it in server::Connection from skylane crate.
§Server examples
TODO: Add examples for server.
§Client examples
TODO: Add examples for client.
Modules§
- Client-side protocols.
- Server-side protocols.