logo

Trait bevy::ecs::schedule::RunCriteriaDescriptorCoercion[]

pub trait RunCriteriaDescriptorCoercion<Param> {
    fn label(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor;
fn label_discard_if_duplicate(
        self,
        label: impl RunCriteriaLabel
    ) -> RunCriteriaDescriptor;
fn before(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor;
fn after(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor; }

Required methods

Assigns a label to the criteria. Must be unique.

Assigns a label to the criteria. If the given label is already in use, this criteria will be discarded before initialization.

Specifies that this criteria must be evaluated before a criteria with the given label.

Specifies that this criteria must be evaluated after a criteria with the given label.

Implementations on Foreign Types

Implementors