Trait bevy_ecs::schedule::IntoSystemSetConfigs

source ·
pub trait IntoSystemSetConfigs
where Self: Sized,
{ // Provided methods fn in_set(self, set: impl SystemSet) -> SystemSetConfigs { ... } fn before<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfigs { ... } fn after<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfigs { ... } fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M> ) -> SystemSetConfigs { ... } fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M> ) -> SystemSetConfigs { ... } fn run_if<M>(self, condition: impl Condition<M>) -> SystemSetConfigs { ... } fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> SystemSetConfigs { ... } fn ambiguous_with_all(self) -> SystemSetConfigs { ... } fn chain(self) -> SystemSetConfigs { ... } fn chain_ignore_deferred(self) -> SystemConfigs { ... } }
Expand description

Types that can convert into a SystemSetConfigs.

Provided Methods§

source

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

Add these system sets to the provided set.

source

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

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.

If automatically inserting apply_deferred like this isn’t desired, use before_ignore_deferred instead.

source

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

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.

If automatically inserting apply_deferred like this isn’t desired, use after_ignore_deferred instead.

source

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

Run before all systems in set.

Unlike before, this will not cause the systems in set to wait for the deferred effects of self to be applied.

source

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

Run after all systems in set.

Unlike after, this may not see the deferred effects of systems in set to be applied.

source

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

Run the systems in this set(s) only if the Condition is true.

The Condition will be evaluated at most once (per schedule run), the first time a system in this set(s) prepares to run.

source

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

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) -> SystemSetConfigs

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) -> SystemSetConfigs

Treat this collection as a sequence of system sets.

Ordering constraints will be applied between the successive elements.

source

fn chain_ignore_deferred(self) -> SystemConfigs

Treat this collection as a sequence of systems.

Ordering constraints will be applied between the successive elements.

Unlike chain this will not add apply_deferred on the edges.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<S0: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0,)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs, S14: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs, S14: IntoSystemSetConfigs, S15: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs, S14: IntoSystemSetConfigs, S15: IntoSystemSetConfigs, S16: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs, S14: IntoSystemSetConfigs, S15: IntoSystemSetConfigs, S16: IntoSystemSetConfigs, S17: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs, S14: IntoSystemSetConfigs, S15: IntoSystemSetConfigs, S16: IntoSystemSetConfigs, S17: IntoSystemSetConfigs, S18: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18)

source§

impl<S0: IntoSystemSetConfigs, S1: IntoSystemSetConfigs, S2: IntoSystemSetConfigs, S3: IntoSystemSetConfigs, S4: IntoSystemSetConfigs, S5: IntoSystemSetConfigs, S6: IntoSystemSetConfigs, S7: IntoSystemSetConfigs, S8: IntoSystemSetConfigs, S9: IntoSystemSetConfigs, S10: IntoSystemSetConfigs, S11: IntoSystemSetConfigs, S12: IntoSystemSetConfigs, S13: IntoSystemSetConfigs, S14: IntoSystemSetConfigs, S15: IntoSystemSetConfigs, S16: IntoSystemSetConfigs, S17: IntoSystemSetConfigs, S18: IntoSystemSetConfigs, S19: IntoSystemSetConfigs> IntoSystemSetConfigs for (S0, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19)

Implementors§