[][src]Module bevy_ecs::prelude

Structs

Added
Changed
Commands

A queue of Commands to run on the current World and Resources

Entity

Lightweight unique ID of an entity

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.

Mutated
Query

Provides scoped access to a World according to a given HecsQuery

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.

With

Query transformer skipping entities that do not have a T component

Without

Query transformer skipping entities that have a T component

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

IntoForEachSystem

Converts Self into a For-Each system

IntoQuerySystem

Converts Self into a Query System

IntoThreadLocalSystem

Converts Self into a thread local system

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