Trait bevy_ecs::schedule::ExclusiveSystemDescriptorCoercion [−][src]
pub trait ExclusiveSystemDescriptorCoercion {
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> ExclusiveSystemDescriptor;
fn label(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor;
fn before(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor;
fn after(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor;
fn in_ambiguity_set(
self,
set: impl AmbiguitySetLabel
) -> ExclusiveSystemDescriptor;
fn at_start(self) -> ExclusiveSystemDescriptor;
fn before_commands(self) -> ExclusiveSystemDescriptor;
fn at_end(self) -> ExclusiveSystemDescriptor;
}
Required methods
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> ExclusiveSystemDescriptor
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> ExclusiveSystemDescriptor
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) -> ExclusiveSystemDescriptor
fn label(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor
Assigns a label to the system; there can be more than one, and it doesn’t have to be unique.
fn before(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor
fn before(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor
Specifies that the system should run before systems with the given label.
fn after(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor
fn after(self, label: impl SystemLabel) -> ExclusiveSystemDescriptor
Specifies that the system should run after systems with the given label.
fn in_ambiguity_set(
self,
set: impl AmbiguitySetLabel
) -> ExclusiveSystemDescriptor
fn in_ambiguity_set(
self,
set: impl AmbiguitySetLabel
) -> ExclusiveSystemDescriptor
Specifies that the system is exempt from execution order ambiguity detection with other systems in this set.
fn at_start(self) -> ExclusiveSystemDescriptor
fn at_start(self) -> ExclusiveSystemDescriptor
Specifies that the system should run with other exclusive systems at the start of stage.
fn before_commands(self) -> ExclusiveSystemDescriptor
fn before_commands(self) -> ExclusiveSystemDescriptor
Specifies that the system should run with other exclusive systems after the parallel systems and before command buffer application.
fn at_end(self) -> ExclusiveSystemDescriptor
fn at_end(self) -> ExclusiveSystemDescriptor
Specifies that the system should run with other exclusive systems at the end of stage.