Type Alias bevy_ecs::schedule::SystemConfigs

source ·
pub type SystemConfigs = NodeConfigs<BoxedSystem>;
Expand description

A collection of SystemConfig.

Aliased Type§

enum SystemConfigs {
    NodeConfig(NodeConfig<Box<dyn System<In = (), Out = ()>>>),
    Configs {
        configs: Vec<NodeConfigs<Box<dyn System<In = (), Out = ()>>>>,
        collective_conditions: Vec<Box<dyn ReadOnlySystem<In = (), Out = bool>>>,
        chained: Chain,
    },
}

Variants§

§

NodeConfig(NodeConfig<Box<dyn System<In = (), Out = ()>>>)

Configuration for a single node.

§

Configs

Fields

§configs: Vec<NodeConfigs<Box<dyn System<In = (), Out = ()>>>>

Configuration for each element of the tuple.

§collective_conditions: Vec<Box<dyn ReadOnlySystem<In = (), Out = bool>>>

Run conditions applied to everything in the tuple.

§chained: Chain

See Chain for usage.

Configuration for a tuple of nested Configs instances.

Trait Implementations§

source§

impl IntoSystemConfigs<()> for SystemConfigs

source§

fn into_configs(self) -> Self

Convert into a SystemConfigs.
source§

fn in_set(self, set: impl SystemSet) -> Self

Add these systems to the provided set.
source§

fn before<M>(self, set: impl IntoSystemSet<M>) -> Self

Runs before all systems in set. If self has any systems that produce Commands or other Deferred operations, all systems in set will see their effect. Read more
source§

fn after<M>(self, set: impl IntoSystemSet<M>) -> Self

Run after all systems in set. If set has any systems that produce Commands or other Deferred operations, all systems in self will see their effect. Read more
source§

fn before_ignore_deferred<M>(self, set: impl IntoSystemSet<M>) -> Self

Run before all systems in set. Read more
source§

fn after_ignore_deferred<M>(self, set: impl IntoSystemSet<M>) -> Self

Run after all systems in set. Read more
source§

fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone ) -> SystemConfigs

Add a run condition to each contained system. Read more
source§

fn run_if<M>(self, condition: impl Condition<M>) -> SystemConfigs

Run the systems only if the Condition is true. Read more
source§

fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Self

Suppress warnings and errors that would result from these systems having ambiguities (conflicting access but indeterminate order) with systems in set.
source§

fn ambiguous_with_all(self) -> Self

Suppress warnings and errors that would result from these systems having ambiguities (conflicting access but indeterminate order) with any other system.
source§

fn chain(self) -> Self

Treat this collection as a sequence of systems. Read more
source§

fn chain_ignore_deferred(self) -> Self

Treat this collection as a sequence of systems. Read more