Trait bevy::ecs::schedule::IntoSystemSetConfigs
pub trait IntoSystemSetConfigs: Sized {
// Provided methods
fn in_set(self, set: impl SystemSet) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
fn before<M>(
self,
set: impl IntoSystemSet<M>
) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
fn after<M>(
self,
set: impl IntoSystemSet<M>
) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
fn run_if<M>(
self,
condition: impl Condition<M, ()>
) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
fn ambiguous_with<M>(
self,
set: impl IntoSystemSet<M>
) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
fn ambiguous_with_all(self) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
fn chain(self) -> NodeConfigs<Interned<dyn SystemSet>> { ... }
}
Expand description
Types that can convert into a SystemSetConfigs
.
Provided Methods§
fn in_set(self, set: impl SystemSet) -> NodeConfigs<Interned<dyn SystemSet>>
fn in_set(self, set: impl SystemSet) -> NodeConfigs<Interned<dyn SystemSet>>
Add these system sets to the provided set
.
fn before<M>(
self,
set: impl IntoSystemSet<M>
) -> NodeConfigs<Interned<dyn SystemSet>>
fn before<M>( self, set: impl IntoSystemSet<M> ) -> NodeConfigs<Interned<dyn SystemSet>>
Run before all systems in set
.
fn after<M>(
self,
set: impl IntoSystemSet<M>
) -> NodeConfigs<Interned<dyn SystemSet>>
fn after<M>( self, set: impl IntoSystemSet<M> ) -> NodeConfigs<Interned<dyn SystemSet>>
Run after all systems in set
.
fn run_if<M>(
self,
condition: impl Condition<M, ()>
) -> NodeConfigs<Interned<dyn SystemSet>>
fn run_if<M>( self, condition: impl Condition<M, ()> ) -> NodeConfigs<Interned<dyn SystemSet>>
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.
fn ambiguous_with<M>(
self,
set: impl IntoSystemSet<M>
) -> NodeConfigs<Interned<dyn SystemSet>>
fn ambiguous_with<M>( self, set: impl IntoSystemSet<M> ) -> NodeConfigs<Interned<dyn SystemSet>>
Suppress warnings and errors that would result from systems in these sets having ambiguities
(conflicting access but indeterminate order) with systems in set
.
fn ambiguous_with_all(self) -> NodeConfigs<Interned<dyn SystemSet>>
fn ambiguous_with_all(self) -> NodeConfigs<Interned<dyn SystemSet>>
Suppress warnings and errors that would result from systems in these sets having ambiguities (conflicting access but indeterminate order) with any other system.
fn chain(self) -> NodeConfigs<Interned<dyn SystemSet>>
fn chain(self) -> NodeConfigs<Interned<dyn SystemSet>>
Treat this collection as a sequence of system sets.
Ordering constraints will be applied between the successive elements.