Crate bevy_quill

source ·

Modules§

Structs§

  • Contains a reference to a callback. P is the type of the props.
  • A conditional view which renders one of two children depending on the condition expression.
  • 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 view which understands that it’s children may change type. When this happens, the old children are razed and the new children are built.
  • A view which generates an entity bundle.
  • A namespace that contains constructor functions for various kinds of for-loops:
  • Contains a reference to a reactive mutable variable.
  • Marker on a View entity to indicate that it’s output Vec<Entity> has changed, and that the parent needs to re-attach it’s children.
  • 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 conditional view which renders one of two children depending on the condition expression.
  • A component that tracks the dependencies of a reactive task.
  • A resource which, if inserted, displays the view entities that have reacted this frame.
  • 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.
  • A wrapper around a type-erased view. This is useful when passing views as parameters.
  • An ECS component which marks a view entity as being the root of a view hierarchy. This is used as a starting point for top-down traversals.
  • Combination of a View and it’s built state, stored as a trait object within a component.
  • An ECS component which wraps a type-erasee ViewAdapter.

Traits§

  • A type-erased [ViewTuple].
  • The dynamic trait used by ViewAdapter. See also ViewThunk.
  • Trait for low-level read-access to mutables given an entity id.
  • 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.
  • Trait for low-level write-access to mutables given an entity id.