Wayland Headers for Rust
This library contains minimalist Rust FFI bindings for Wayland in a way that's roughly equivalent to the official Wayland 1.18.0 headers for C/C++ along with the stable protocols found in wayland-protocols 1.20. It makes no attempt at providing safe or idiomatic Rust wrappers and doesn't rename any C identifiers to match Rust's style guidelines.
For example, the following Rust code:
use *;
is roughly equivalent to the following C code:
This library is based specifically on Wayland 1.18.0 and protocols 1.20 since those are the versions provided by Steam Runtime 3 'sniper'.
Using this library does not automatically link against any libwayland-*.so libraries.
Extension Protocol wl_interface Statics
For the extension protocol wl_interface statics (e.g. xdg_shell_client_protocol::xdg_popup_interface), only external declarations are provided. See wayland-protocol-statics for a convenient way to include their definitions in a Rust program.