pub trait AppLabel:
Send
+ Sync
+ Debug
+ DynEq
+ DynHash {
// Required method
fn dyn_clone(&self) -> Box<dyn AppLabel>;
// Provided method
fn intern(&self) -> Interned<dyn AppLabel>
where Self: Sized { ... }
}Expand description
A strongly-typed class of labels used to identify an App.
Required Methods§
Provided Methods§
Trait Implementations§
impl Eq for dyn AppLabel
Source§impl Internable for dyn AppLabel
impl Internable for dyn AppLabel
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".