Trait bevy::prelude::SystemLabel
pub trait SystemLabel: 'static {
fn as_str(&self) -> &'static str;
fn as_label(&self) -> SystemLabelId { ... }
fn type_id(&self) -> TypeId { ... }
}
Expand description
A strongly-typed class of labels used to identify System
s.
Required Methods§
Provided Methods§
fn as_label(&self) -> SystemLabelId
fn as_label(&self) -> SystemLabelId
Converts this type into an opaque, strongly-typed label.