Expand description
§Backends
A backend is everything between Pushrod and a screen: the window, input, per-widget textures,
the clock, the clipboard, and opening URLs. The core never names a windowing library; it
talks to a Backend, and a backend hands it a Painter to draw
each Widget.
headless-HeadlessBackendandRecordingPainter, in this crate: no window, records paint calls, for tests.pushrod-sdl2- theSDL2backend, in its own crate.
An application picks a backend by starting the loop with it, for example
pushrod_sdl2::run(engine, WindowSettings::new("App", size(400, 300)), state).
Modules§
- headless
- Headless backend
Traits§
- Backend
- The services a windowing system provides to the engine.
Type Aliases§
- Waker
- A function another thread calls to wake a waiting backend; see
Backend::waker.