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