wayland_backend/rs/
mod.rs

1//! Rust implementations of the Wayland backends
2
3mod client_impl;
4mod server_impl;
5
6mod map;
7pub(crate) mod socket;
8mod wire;
9
10// Matches `WL_BUFFER_DEFAULT_MAX_SIZE` in `libwayland`
11pub(crate) const DEFAULT_MAX_BUFFER_SIZE: usize = 4096;
12
13/// Client-side rust implementation of a Wayland protocol backend
14///
15/// The main entrypoint is the [`Backend::connect()`][client::Backend::connect()] method.
16#[path = "../client_api.rs"]
17pub mod client;
18
19/// Server-side rust implementation of a Wayland protocol backend
20///
21/// The main entrypoint is the [`Backend::new()`][server::Backend::new()] method.
22#[path = "../server_api.rs"]
23pub mod server;