Type Alias valence::ecs::schedule::SystemSetConfigs
pub type SystemSetConfigs = NodeConfigs<Interned<dyn SystemSet>>;
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<In = (), Out = bool>>>,
chained: Chain,
},
}
Variants§
NodeConfig(NodeConfig<Interned<dyn SystemSet>>)
Configuration for a single node.
Configs
Configuration for a tuple of nested Configs
instances.
Implementations
§impl<T> NodeConfigs<T>
impl<T> NodeConfigs<T>
pub fn in_set_inner(&mut self, set: Interned<dyn SystemSet>)
pub fn in_set_inner(&mut self, set: Interned<dyn SystemSet>)
Adds a new boxed system set to the systems.
pub fn run_if_dyn(
&mut self,
condition: Box<dyn ReadOnlySystem<In = (), Out = bool>>,
)
pub fn run_if_dyn( &mut self, condition: Box<dyn ReadOnlySystem<In = (), Out = bool>>, )
Adds a new boxed run condition to the systems.
This is useful if you have a run condition whose concrete type is unknown.
Prefer run_if
for run conditions whose type is known at compile time.
Trait Implementations
§impl IntoSystemSetConfigs for NodeConfigs<Interned<dyn SystemSet>>
impl IntoSystemSetConfigs for NodeConfigs<Interned<dyn SystemSet>>
§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>>
§fn after<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Interned<dyn SystemSet>>
fn after<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Interned<dyn SystemSet>>
§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Interned<dyn SystemSet>>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Interned<dyn SystemSet>>
Run before all systems in
set
. Read more§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Interned<dyn SystemSet>>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Interned<dyn SystemSet>>
Run after all systems in
set
. Read more§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. Read more
§fn chain_ignore_deferred(
self,
) -> NodeConfigs<Box<dyn System<In = (), Out = ()>>>
fn chain_ignore_deferred( self, ) -> NodeConfigs<Box<dyn System<In = (), Out = ()>>>
Treat this collection as a sequence of systems. Read more