Module xcb_ffi

Source
Expand description

A FFI-based connection to an X11 server, using libxcb.

This module is only available when the allow-unsafe-code feature is enabled.

Re-exports§

pub use crate::errors::ConnectionError;
pub use crate::errors::ReplyError;
pub use crate::errors::ReplyOrIdError;

Structs§

XCBConnection
A connection to an X11 server.

Enums§

ConnectError
An error that occurred while connecting to an X11 server
ParseError
An error occurred while parsing some data

Functions§

load_libxcb
Tries to dynamically load libxcb, returning an error on failure.

Type Aliases§

BufWithFds
A combination of a buffer and a list of file descriptors for use by XCBConnection.
RawEventAndSeqNumber
The raw bytes of an event received by XCBConnection and its sequence number.