Structs§
- RAII handle to a despawn signal.
- Creates
AutoDespawnSignal
s. - Callback wrapper for FnOnce functions. Implements
Command
. - Callback wrapper that lets you call with a value once. The helper returned by
.call_with()
implementsCommand
. - Callback wrapper. Implements
Command
. - Callback wrapper that lets you call with a value. The helper returned by
.call_with()
implementsCommand
. - Callback wrapper with a specific call value baked in. Implements
Command
. - Callback wrapper with a specific call value baked in. Implements
Command
. - Tracks named systems.
- Callback wrapper that mimics
syscall
(without an implicit call toapply_deferred
). - System identifier for referencing spawned systems.
- System identifier for use in named systems.
Enums§
- Represents a system callback.
- Represents a system callback.
Traits§
- Extends the
App
API with a method to set up auto despawning. - Extends
Commands
with thesyscall
method. - Extends
World
with thesyscall
method.
Functions§
- Drains
AutoDespawner
and recursively despawns entities that were auto-despawned. - Execute a named system on some data then apply the system’s deferred commands.
- Directly invoke a named system.
- Wraps a
Fn
system in a system that consumes the system input. - Register a named system for future use.
- Runs a system with cleanup that occurs between running the system and applying deferred commands.
- Spawn a ref-counted system.
- Spawn a ref-counted system.
- Spawn a system as an entity.
- Spawn a system as an entity.
- Execute a pre-spawned system on some data then apply the system’s deferred commands.
- Executes a system on some data then applies the system’s deferred commands.
- Same as
syscall
except thevalidation
function is called the first time the system is run. - Try to invoke the callback
C
onentity
. - Try to invoke the callback
C
onentity
withvalue
.