Struct bevy_ecs::schedule::RunCriteriaDescriptor
source · pub struct RunCriteriaDescriptor { /* private fields */ }
Trait Implementations§
source§impl Debug for RunCriteriaDescriptor
impl Debug for RunCriteriaDescriptor
source§impl IntoRunCriteria<RunCriteriaDescriptor> for RunCriteriaDescriptorOrLabel
impl IntoRunCriteria<RunCriteriaDescriptor> for RunCriteriaDescriptorOrLabel
fn into(self) -> RunCriteriaDescriptorOrLabel
source§impl IntoRunCriteria<RunCriteriaDescriptorOrLabel> for RunCriteriaDescriptor
impl IntoRunCriteria<RunCriteriaDescriptorOrLabel> for RunCriteriaDescriptor
fn into(self) -> RunCriteriaDescriptorOrLabel
source§impl RunCriteriaDescriptorCoercion<()> for RunCriteriaDescriptor
impl RunCriteriaDescriptorCoercion<()> for RunCriteriaDescriptor
source§fn label(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
fn label(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
Assigns a label to the criteria. Must be unique.
source§fn label_discard_if_duplicate(
self,
label: impl RunCriteriaLabel
) -> RunCriteriaDescriptor
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. Read more
source§fn before(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
fn before(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
Specifies that this criteria must be evaluated before a criteria with the given label.
source§fn after(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
fn after(self, label: impl RunCriteriaLabel) -> RunCriteriaDescriptor
Specifies that this criteria must be evaluated after a criteria with the given label.
Auto Trait Implementations§
impl !RefUnwindSafe for RunCriteriaDescriptor
impl Send for RunCriteriaDescriptor
impl Sync for RunCriteriaDescriptor
impl Unpin for RunCriteriaDescriptor
impl !UnwindSafe for RunCriteriaDescriptor
Blanket Implementations§
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresource§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more