Skip to main content

Module backend

Module backend 

Source
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.

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.