Skip to main content

Module backends

Module backends 

Source
Expand description

The registry every backend kind shares.

A backend kind (renderers, layout engines, window systems) is a trait in crate::traits plus an entry type that names one implementation, ranks it, and says how to build it. Each implementation registers its entry into the app’s Backends registry from its own crate while the app is built, and a launch asks the registry for one by name or for every entry in priority order. The core names no implementation, so a binary that does not link a backend has no entry for it and pays nothing for it.

Structs§

Backends
Main-world registry of the backends of one kind this binary carries.

Traits§

BackendEntry
What a registry entry tells the registry about the backend it names.

Functions§

missing
The message for a build that carries no backend of kind B.
register_backend
Register backend into app’s registry of its kind, creating the registry on first use. What a backend’s capability install calls.
registered
The entries of kind B registered into app, empty when none are.