Expand description
Contains APIs for ordering systems and executing them on a World
Re-exports§
pub use crate::label::DynEq;
Modules§
- common_
conditions - A collection of run conditions that may be useful in any bevy app.
Structs§
- Anonymous
Set - A
SystemSet
implicitly created when usingSchedule::add_systems
orSchedule::configure_sets
. - Dag
- A directed acyclic graph structure.
- Main
Thread Executor - New-typed
ThreadExecutor
Resource
that is used to run systems on the main thread - Multi
Threaded Executor - Runs the schedule using a thread pool. Non-conflicting systems can run in parallel.
- Node
Config - Stores configuration for a single generic node (a system or a system set)
- Schedule
- A collection of systems, and the metadata and executor needed to run them in a certain order under certain conditions.
- Schedule
Build Settings - Specifies miscellaneous settings for schedule construction.
- Schedule
Graph - Metadata for a
Schedule
. - Schedule
NotInitialized - Error to denote that
Schedule::initialize
orSchedule::run
has not yet been called for this schedule. - Schedules
- Resource that stores
Schedule
s mapped toScheduleLabel
s excluding the current runningSchedule
. - Simple
Executor - A variant of
SingleThreadedExecutor
that callsapply_deferred
immediately after running each system. - Single
Threaded Executor - Runs the schedule using a single thread.
- Stepping
- Resource for controlling system stepping behavior
- System
Schedule - Holds systems and conditions of a
Schedule
sorted in topological order (along with dependency information formulti_threaded
execution). - System
Type Set - A
SystemSet
grouping instances of the same function.
Enums§
- Chain
- Chain systems into dependencies
- Executor
Kind - Specifies how a
Schedule
will be run. - LogLevel
- Specifies how schedule construction should respond to detecting a certain kind of issue.
- Node
Configs - A collections of generic
NodeConfig
s. - NodeId
- Unique identifier for a system or system set stored in a
ScheduleGraph
. - Schedule
Build Error - Category of errors encountered during schedule construction.
Traits§
- Condition
- A system that determines if one or more scheduled systems should run.
- Into
System Configs - Types that can convert into a
SystemConfigs
. - Into
System Set - Types that can be converted into a
SystemSet
. - Into
System SetConfigs - Types that can convert into a
SystemSetConfigs
. - Schedule
Label - A strongly-typed class of labels used to identify a
Schedule
. - System
Set - Types that identify logical groups of systems.
Functions§
- apply_
deferred - Instructs the executor to call
System::apply_deferred
on the systems that have run but not applied theirDeferred
system parameters (likeCommands
) or other system buffers.
Type Aliases§
- And
- Combines the outputs of two systems using the
&&
operator. - Boxed
Condition - A type-erased run condition stored in a
Box
. - Interned
Schedule Label - A shorthand for
Interned<dyn ScheduleLabel>
. - Interned
System Set - A shorthand for
Interned<dyn SystemSet>
. - Nand
- Combines and inverts the outputs of two systems using the
&&
and!
operators. - Nor
- Combines and inverts the outputs of two systems using the
&&
and!
operators. - NotSystem
- Invokes
Not
with the output of another system. - Or
- Combines the outputs of two systems using the
||
operator. - System
Config - Stores configuration for a single system.
- System
Configs - A collection of
SystemConfig
. - System
SetConfig - A
SystemSet
with scheduling metadata. - System
SetConfigs - A collection of
SystemSetConfig
. - Xnor
- Combines and inverts the outputs of two systems using the
^
and!
operators. - Xor
- Combines the outputs of two systems using the
^
operator.
Derive Macros§
- Schedule
Label - Derive macro generating an impl of the trait
ScheduleLabel
. - System
Set - Derive macro generating an impl of the trait
SystemSet
.