Type Definition bevy_ecs::system::BoxedSystem
source · Expand description
A convenience type alias for a boxed System
trait object.
Trait Implementations§
source§impl IntoRunCriteria<Box<dyn System<Out = ShouldRun, In = ()> + 'static, Global>> for BoxedSystem<(), ShouldRun>
impl IntoRunCriteria<Box<dyn System<Out = ShouldRun, In = ()> + 'static, Global>> for BoxedSystem<(), ShouldRun>
fn into(self) -> RunCriteriaDescriptorOrLabel
source§impl IntoSystemDescriptor<()> for BoxedSystem<(), ()>
impl IntoSystemDescriptor<()> for BoxedSystem<(), ()>
source§fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> SystemDescriptor
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> SystemDescriptor
Assigns a run criteria to the system. Can be a new descriptor or a label of a
run criteria defined elsewhere. Read more
source§fn label(self, label: impl SystemLabel) -> SystemDescriptor
fn label(self, label: impl SystemLabel) -> SystemDescriptor
Assigns a label to the system; there can be more than one, and it doesn’t have to be unique.
source§fn before<Marker>(self, label: impl AsSystemLabel<Marker>) -> SystemDescriptor
fn before<Marker>(self, label: impl AsSystemLabel<Marker>) -> SystemDescriptor
Specifies that the system should run before systems with the given label.
source§fn after<Marker>(self, label: impl AsSystemLabel<Marker>) -> SystemDescriptor
fn after<Marker>(self, label: impl AsSystemLabel<Marker>) -> SystemDescriptor
Specifies that the system should run after systems with the given label.
source§fn ambiguous_with<Marker>(
self,
label: impl AsSystemLabel<Marker>
) -> SystemDescriptor
fn ambiguous_with<Marker>(
self,
label: impl AsSystemLabel<Marker>
) -> SystemDescriptor
Marks this system as ambiguous with any system with the specified label.
This means that execution order between these systems does not matter,
which allows some warnings to be silenced. Read more
source§fn ignore_all_ambiguities(self) -> SystemDescriptor
fn ignore_all_ambiguities(self) -> SystemDescriptor
Specifies that this system should opt out of
execution order ambiguity detection. Read more
source§fn at_start(self) -> SystemDescriptor
fn at_start(self) -> SystemDescriptor
Specifies that the system should run with other exclusive systems at the start of stage.
source§fn before_commands(self) -> SystemDescriptor
fn before_commands(self) -> SystemDescriptor
Specifies that the system should run with other exclusive systems after the parallel
systems and before command buffer application. Read more
source§fn at_end(self) -> SystemDescriptor
fn at_end(self) -> SystemDescriptor
Specifies that the system should run with other exclusive systems at the end of stage.
fn into_descriptor(self) -> SystemDescriptor
source§impl RunCriteriaDescriptorCoercion<()> for BoxedSystem<(), ShouldRun>
impl RunCriteriaDescriptorCoercion<()> for BoxedSystem<(), ShouldRun>
source§fn label(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
fn label(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
Assigns a label to the criteria. Must be unique.
source§fn label_discard_if_duplicate(
self,
label: impl RunCriteriaLabel
) -> RunCriteriaDescriptor
fn label_discard_if_duplicate(
self,
label: impl RunCriteriaLabel
) -> RunCriteriaDescriptor
Assigns a label to the criteria. If the given label is already in use,
this criteria will be discarded before initialization. Read more
source§fn before(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
fn before(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
Specifies that this criteria must be evaluated before a criteria with the given label.
source§fn after(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
fn after(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
Specifies that this criteria must be evaluated after a criteria with the given label.