Type Definition 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.
Trait Implementations§
source§impl IntoSystemConfig<(), SystemConfig> for BoxedSystem<(), ()>
impl IntoSystemConfig<(), SystemConfig> for BoxedSystem<(), ()>
source§fn in_set(self, set: impl FreeSystemSet) -> Config
fn in_set(self, set: impl FreeSystemSet) -> Config
Add to
set
membership.source§fn in_base_set(self, set: impl BaseSystemSet) -> Config
fn in_base_set(self, set: impl BaseSystemSet) -> Config
Add to the provided “base”
set
. For more information on base sets, see SystemSet::is_base
.source§fn no_default_base_set(self) -> Config
fn no_default_base_set(self) -> Config
Don’t add this system to the schedules’s default set.
source§fn before<M>(self, set: impl IntoSystemSet<M>) -> Config
fn before<M>(self, set: impl IntoSystemSet<M>) -> Config
Run before all systems in
set
.source§fn after<M>(self, set: impl IntoSystemSet<M>) -> Config
fn after<M>(self, set: impl IntoSystemSet<M>) -> Config
Run after all systems in
set
.source§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> Config
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with systems in
set
.source§fn ambiguous_with_all(self) -> Config
fn ambiguous_with_all(self) -> Config
Suppress warnings and errors that would result from this system having ambiguities
(conflicting access but indeterminate order) with any other system.