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

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

Required methods

pub fn label(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor

Assigns a label to the criteria. Must be unique.

pub 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.

pub fn before(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor

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

pub fn after(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor

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

Loading content...

Implementations on Foreign Types

impl RunCriteriaDescriptorCoercion for Box<dyn System<Out = ShouldRun, In = ()> + 'static, Global>

Loading content...

Implementors

impl RunCriteriaDescriptorCoercion for RunCriteriaDescriptor

impl<S> RunCriteriaDescriptorCoercion for S where
    S: System<In = (), Out = ShouldRun>, 

Loading content...