bevy_ecs::system

Type Alias 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 into_configs(self) -> SystemConfigs

Convert into a SystemConfigs.
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

Runs before all systems in set. If self has any systems that produce Commands or other Deferred operations, all systems in set will see their effect. Read more
Source§

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

Run after all systems in set. If set has any systems that produce Commands or other Deferred operations, all systems in self will see their effect. Read more
Source§

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

Run before all systems in set. Read more
Source§

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

Run after all systems in set. Read more
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
Source§

fn chain_ignore_deferred(self) -> SystemConfigs

Treat this collection as a sequence of systems. Read more