Module bevy_internal::ecs::prelude
source · [−]Expand description
Most commonly used re-exported types.
Structs
A filter on a component that only retains results added after the system last ran.
The AnyOf query parameter fetches entities with any of the component types included in T.
WorldQuery that tracks changes and additions for component T.
A filter on a component that only retains results added or mutably dereferenced after the system last ran.
A queue of commands that get executed at the end of the stage of the system that called them.
Reads events of type T in order and tracks which events have already been read.
Sends events of type T.
An event collection that represents the events that occurred within the last two
Events::update calls.
Events can be written to using an EventWriter
and are typically cheaply read using an EventReader.
Wrapper type to mark a SystemParam as an input.
A system local SystemParam.
Unique mutable borrow of an entity’s component
Unique borrow of a non-Send resource.
A filter that tests if any of the given filters apply.
An alternative to Commands that can be used in parallel contexts, such as those in Query::par_for_each
Provides scoped access to a World state according to a given WorldQuery and query filter.
A struct used to operate on reflected Component of a type.
A struct used to operate on reflected Resource of a type.
A SystemParam that grants access to the entities that had their T Component removed.
Shared borrow of a resource.
Unique mutable borrow of a resource.
Stack based state machine
A builder for describing several systems at the same time.
Stores and executes systems. Execution order is not defined unless explicitly specified;
see SystemDescriptor documentation.
Filter that selects entities with a component T.
Filter that selects entities without a component T.
Stores and exposes operations on entities, components, resources, and their associated metadata.
Traits
A strongly-typed class of labels used to identify sets of systems with intentionally ambiguous execution order.
Types that implement reliable change detection.
Creates an instance of the type this trait is implemented for using data from the supplied World.
An extension trait providing the IntoChainSystem::chain method for convenient System
chaining.
Conversion trait to turn something into a System.
A strongly-typed class of labels used to identify run criteria.
A strongly-typed class of labels used to identify Stages.
A strongly-typed class of labels used to identify Systems.
A trait implemented for all functions that can be used as Systems.
Derive Macros
Generates an impl of the AmbiguitySetLabel trait.
Generates an impl of the RunCriteriaLabel trait.
Generates an impl of the StageLabel trait.
Generates an impl of the SystemLabel trait.