Module bevy::ecs::prelude

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 Command queue to perform impactful changes to the World.
Lightweight identifier of an entity.
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
Shared borrow of a non-Send resource.
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
System parameter that provides selective access to the Component data stored in a World.
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.
A container of Stages set to be run in a linear order.
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

The Bundle trait enables insertion and removal of Components from an entity.
A data type that can be used to store data for an entity.
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 IntoPipeSystem::pipe method to pass input from one system into the next.
Conversion trait to turn something into a System.
A type that can be inserted into a World as a singleton.
A strongly-typed class of labels used to identify run criteria.
A type that can run as a step of a Schedule.
A strongly-typed class of labels used to identify Stages.
An ECS system that can be added to a Schedule
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 RunCriteriaLabel trait.
Generates an impl of the StageLabel trait.
Generates an impl of the SystemLabel trait.