Trait bevy::ecs::schedule::ParallelSystemDescriptorCoercion [−]
pub trait ParallelSystemDescriptorCoercion<Params> {
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> ParallelSystemDescriptor;
fn label(self, label: impl SystemLabel) -> ParallelSystemDescriptor;
fn before(self, label: impl SystemLabel) -> ParallelSystemDescriptor;
fn after(self, label: impl SystemLabel) -> ParallelSystemDescriptor;
fn in_ambiguity_set(
self,
set: impl AmbiguitySetLabel
) -> ParallelSystemDescriptor;
}
Required methods
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> ParallelSystemDescriptor
fn with_run_criteria<Marker>(
self,
run_criteria: impl IntoRunCriteria<Marker>
) -> ParallelSystemDescriptor
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) -> ParallelSystemDescriptor
fn label(self, label: impl SystemLabel) -> ParallelSystemDescriptor
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) -> ParallelSystemDescriptor
fn before(self, label: impl SystemLabel) -> ParallelSystemDescriptor
Specifies that the system should run before systems with the given label.
fn after(self, label: impl SystemLabel) -> ParallelSystemDescriptor
fn after(self, label: impl SystemLabel) -> ParallelSystemDescriptor
Specifies that the system should run after systems with the given label.
fn in_ambiguity_set(
self,
set: impl AmbiguitySetLabel
) -> ParallelSystemDescriptor
fn in_ambiguity_set(
self,
set: impl AmbiguitySetLabel
) -> ParallelSystemDescriptor
Specifies that the system is exempt from execution order ambiguity detection with other systems in this set.