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