pub trait AutoTypeKey<T: Component>: TypeKey {
// 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".