A context parameter that is passed to views and callbacks. It contains the reactive
tracking scope, which is used to manage reactive dependencies, as well as a reference to
the Bevy world.
A Portal represents a UI node that is displayed with no parent node, causing it’s location to
be relative to the window rather than any parent node. This only affects the display hierarchy,
the View hierarchy is unaffected.
A ViewAdapter is a stateless object that can be used to access an object implementing View
in a type-erased fashion, without needing to store a dyn View. This allows querying for ECS
components that contain implementations of the View trait without knowing the concrete type.
Note that it must be stateless since it is created statically, and passed around by static
reference.
An object which produces one or more display nodes. The View is itself immutable and
stateless, but it can produce a mutable state object which is updated when the view is rebuilt.
This state object must be managed externally, and is passed to the View methods as a
parameter.
Trait that defines a template object that can construct a View from a reactive context.
View templates are themselves views, when they are built or rebuild they call create() to
create a new, temporary View which is then immediately invoked.