[]Module bevy::ecs::prelude

Structs

Added

Query transformer that retrieves components of type T that have been added since the start of the frame.

Changed

Query transformer that retrieves components of type T that have either been mutated or added since the start of the frame.

ChangedRes

A shared borrow of a Resource that will only return in a query if the Resource has been changed

Commands

A list of commands that will be run to populate a World and Resources.

Entity

Lightweight unique ID of an entity

In
Local

Local resources are unique per-system. Two instances of the same system will each have their own resource. Local resources are automatically initialized using the FromResources trait.

Mut

Unique borrow of an entity's component

Mutated

Query transformer that retrieves components of type T that have been mutated since the start of the frame. Added components do not count as mutated.

Or
Query

Provides scoped access to a World according to a given [HecsQuery]

QuerySet
Ref

Shared borrow of an entity's component

RefMut

Unique borrow of an entity's component

Res

Shared borrow of a Resource

ResMut

Unique borrow of a Resource

Resources

A collection of resource instances identified by their type.

Schedule
State
StateStage
SystemStage
With
Without
World

An unordered collection of entities, each having any number of distinctly typed components

Traits

Bundle

A statically typed collection of components

Component

Types that can be components, implemented automatically for all Send + Sync + 'static types

FromResources

Creates Self using data from the Resources collection

IntoChainSystem
IntoSystem
Resource

A Resource type

System

An ECS system that can be added to a Schedule

WorldBuilderSource

Converts a reference to Self to a WorldBuilder

Derive Macros

Bundle

Implement Bundle for a monomorphic struct