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