bevy_ecs::schedule

Type Alias SystemSetConfigs

Source
pub type SystemSetConfigs = NodeConfigs<InternedSystemSet>;
Expand description

A collection of SystemSetConfig.

Aliased Type§

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

Variants§

§

NodeConfig(NodeConfig<Interned<dyn SystemSet>>)

Configuration for a single node.

§

Configs

Configuration for a tuple of nested Configs instances.

Fields

§configs: Vec<NodeConfigs<Interned<dyn SystemSet>>>

Configuration for each element of the tuple.

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

Run conditions applied to everything in the tuple.

§chained: Chain

See Chain for usage.

Trait Implementations§

Source§

impl IntoSystemSetConfigs for SystemSetConfigs

Source§

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

Add these system sets 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

Runs before 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 run_if<M>(self, condition: impl Condition<M>) -> SystemSetConfigs

Run the systems in this set(s) 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 systems in these sets 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 systems in these sets having ambiguities (conflicting access but indeterminate order) with any other system.
Source§

fn chain(self) -> Self

Treat this collection as a sequence of system sets. Read more
Source§

fn chain_ignore_deferred(self) -> SystemConfigs

Treat this collection as a sequence of systems. Read more