Type Alias bevy_ecs::system::BoxedSystem

source ·
pub type BoxedSystem<In = (), Out = ()> = Box<dyn System<In = In, Out = Out>>;
Expand description

A convenience type alias for a boxed System trait object.

Aliased Type§

struct BoxedSystem<In = (), Out = ()>(/* private fields */);

Trait Implementations§

source§

impl IntoSystemConfigs<()> for BoxedSystem<(), ()>

source§

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

Add these systems to the provided set.
source§

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

Run before all systems in set.
source§

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

Run after all systems in set.
source§

fn distributive_run_if<M>( self, condition: impl Condition<M> + Clone ) -> SystemConfigs

Add a run condition to each contained system. Read more
source§

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

Run the systems only if the Condition is true. Read more
source§

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

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

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

Treat this collection as a sequence of systems. Read more