trait Internable:
Clone
+ Eq
+ Hash
+ 'static {
// Required method
fn intern_cache() -> &'static Mutex<TyIntern<Self>>;
// Provided method
fn intern(self) -> Interned<Self> { ... }
}
Required Methods§
fn intern_cache() -> &'static Mutex<TyIntern<Self>>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.