pub type SystemConfigs = NodeConfigs<Box<dyn System<Out = (), In = ()>>>;
Expand description
A collection of SystemConfig
.
Aliased Type§
enum SystemConfigs {
NodeConfig(NodeConfig<Box<dyn System<Out = (), In = ()>>>),
Configs {
configs: Vec<NodeConfigs<Box<dyn System<Out = (), In = ()>>>>,
collective_conditions: Vec<Box<dyn ReadOnlySystem<Out = bool, In = ()>>>,
chained: Chain,
},
}
Variants§
NodeConfig(NodeConfig<Box<dyn System<Out = (), In = ()>>>)
Configuration for a single node.
Configs
Configuration for a tuple of nested Configs
instances.
Implementations
source§impl<T> NodeConfigs<T>
impl<T> NodeConfigs<T>
sourcepub 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.
sourcepub fn run_if_dyn(
&mut self,
condition: Box<dyn ReadOnlySystem<Out = bool, In = ()>>,
)
pub fn run_if_dyn( &mut self, condition: Box<dyn ReadOnlySystem<Out = bool, In = ()>>, )
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
source§impl IntoSystemConfigs<()> for NodeConfigs<Box<dyn System<Out = (), In = ()>>>
impl IntoSystemConfigs<()> for NodeConfigs<Box<dyn System<Out = (), In = ()>>>
source§fn into_configs(self) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn into_configs(self) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Convert into a
SystemConfigs
.source§fn in_set(
self,
set: impl SystemSet,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn in_set( self, set: impl SystemSet, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Add these systems to the provided
set
.source§fn before<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn before<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
source§fn after<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn after<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
source§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Run before all systems in
set
. Read moresource§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Run after all systems in
set
. Read moresource§fn distributive_run_if<M>(
self,
condition: impl Condition<M> + Clone,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Add a run condition to each contained system. Read more
source§fn run_if<M>(
self,
condition: impl Condition<M>,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn run_if<M>( self, condition: impl Condition<M>, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
source§fn ambiguous_with<M>(
self,
set: impl IntoSystemSet<M>,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn ambiguous_with<M>( self, set: impl IntoSystemSet<M>, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
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) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn ambiguous_with_all(self) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
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) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn chain(self) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Treat this collection as a sequence of systems. Read more
source§fn chain_ignore_deferred(
self,
) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
fn chain_ignore_deferred( self, ) -> NodeConfigs<Box<dyn System<Out = (), In = ()>>>
Treat this collection as a sequence of systems. Read more