Function wayland_scanner::generate_rust_code
source · Expand description
Generate the code for a protocol using the Rust implementation
See this crate toplevel documentation for details.
Args:
protocol
: a path to the XML file describing the protocol, absolute or relative to the build script using this function.target
: the path of the file to store the code in.side
: the side (client or server) to generate code for.