Trait bevy::ecs::schedule::RunCriteriaLabel
[−]pub trait RunCriteriaLabel: 'static {
fn as_str(&self) -> &'static str;
fn as_label(&self) -> RunCriteriaLabelId { ... }
fn type_id(&self) -> TypeId { ... }
}
Expand description
A strongly-typed class of labels used to identify run criteria.
Required Methods
Provided Methods
fn as_label(&self) -> RunCriteriaLabelId
fn as_label(&self) -> RunCriteriaLabelId
Converts this type into an opaque, strongly-typed label.