Trait bevy::ecs::system::IntoChainSystem
[−]pub trait IntoChainSystem<ParamA, Payload, SystemB, ParamB, Out>: IntoSystem<(), Payload, ParamA> where
SystemB: IntoSystem<Payload, Out, ParamB>, {
fn chain(
self,
system: SystemB
) -> ChainSystem<Self::System, <SystemB as IntoSystem<Payload, Out, ParamB>>::System>;
}
Expand description
An extension trait providing the IntoChainSystem::chain
method for convenient System
chaining.
This trait is blanket implemented for all system pairs that fulfill the chaining requirement.
See ChainSystem
.
Required Methods
fn chain(
self,
system: SystemB
) -> ChainSystem<Self::System, <SystemB as IntoSystem<Payload, Out, ParamB>>::System>
fn chain(
self,
system: SystemB
) -> ChainSystem<Self::System, <SystemB as IntoSystem<Payload, Out, ParamB>>::System>
Chain this system A
with another system B
creating a new system that feeds system A’s
output into system B
, returning the output of system B
.