pub trait AutoTypeKey<T>: TypeKeywhere
T: Component,{
// Required method
fn new() -> Self;
}
Expand description
A TypeKey
which can construct itself for a given type T.
Required 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.