Trait bevy::ecs::prelude::IntoSystemDescriptor
pub trait IntoSystemDescriptor<Params> {
fn into_descriptor(self) -> SystemDescriptor;
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> SystemDescriptor;
fn label(self, label: impl SystemLabel) -> SystemDescriptor;
fn before<Marker>(
self,
label: impl AsSystemLabel<Marker>
) -> SystemDescriptor;
fn after<Marker>(self, label: impl AsSystemLabel<Marker>) -> SystemDescriptor;
fn ambiguous_with<Marker>(
self,
label: impl AsSystemLabel<Marker>
) -> SystemDescriptor;
fn ignore_all_ambiguities(self) -> SystemDescriptor;
fn at_start(self) -> SystemDescriptor;
fn before_commands(self) -> SystemDescriptor;
fn at_end(self) -> SystemDescriptor;
}
Required Methods§
fn into_descriptor(self) -> SystemDescriptor
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.
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.
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.
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.
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.
fn ignore_all_ambiguities(self) -> SystemDescriptor
fn ignore_all_ambiguities(self) -> SystemDescriptor
Specifies that this system should opt out of execution order ambiguity detection.
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.
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.
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.