Crate skylane_protocols [−] [src]
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.
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
register it in
TODO: Add examples for server.
TODO: Add examples for client.