Skip to main content

Module traits

Module traits 

Source
Expand description

Marker traits identifying backend roles, plus the Bindable trait declaring a component as a property-bus participant.

Concrete backends register systems via a crate::app::Plugin into the appropriate crate::tick::TickStage; the marker traits provide a type-level identifier only.

Traitsยง

A11yBackend
Marker trait implemented by accessibility bridges. Plugins register systems into crate::tick::TickStage::A11ySync.
Bindable
Declares that a Component participates in the entity-property bus exposed by crate::property_store::PropertyStore.
LayoutEngine
Marker trait implemented by layout engines. Plugins register systems into crate::tick::TickStage::LayoutSync.
Renderer
Marker trait implemented by render backends. The accompanying plugin installs the backend as a (possibly NonSend) render-world resource and registers systems into crate::render_world::RenderStage.
Spawn
Marker trait implemented by async-task runtimes.
Timer
Marker trait implemented by one-shot timer runtimes.
WindowBackend
Marker trait implemented by window backends. Plugins register systems into crate::tick::TickStage::Input.