Crate waybackend

Source
Expand description

§Waybackend

Welcome. Waybackend is a low-level wayland backend that allows you to do wayland stuff without wrapping everything in Arcs.

Re-exports§

pub use wire::Error;
pub use bitflags;
pub use rustix;

Modules§

objman
shm
Utilities to use shared memory with memory mapping.
types
This module contains the definitions of all wayland types that can go through the wire.
wire
This module contains structs for communicating through the wayland file descriptor

Macros§

bind_globals

Structs§

Global
A wayland global. Use this to bind the interfaces you want
Waybackend
This struct holds the message builder and the wayland file descriptor

Enums§

ConnectionError
RoundtripError

Constants§

WL_DISPLAY
The wayland display global object always has the same id: 1

Functions§

connect
Mostly copy-pasted from wayland-client.rs
roundtrip
Does a roundtrip to gather all the globals during program initialization