Module rs::main::c

source · []

Structs

DbusHandler*

EekboardContextService* in the role of a hint receiver

Holds the Rust structures that are interesting from C.

Corresponds to wayland.h::squeek_wayland. Fields unused by Rust are marked as generic data types.

Functions

A single iteration of the UI loop. Applies state outcomes to external portions of the program. This is the outest layer of the imperative shell, and doesn’t lend itself to testing other than integration.

Places the UI loop callback in the glib main loop.

Creates what’s possible in Rust to eliminate as many FFI calls as possible, because types aren’t getting checked across their boundaries, and that leads to suffering.