pub trait AutoTypeKey<T>: TypeKey
where T: Component,
{ // Required method fn new() -> Self; }
Expand description

A TypeKey which can construct itself for a given type T.

Required Methods§

source

fn new() -> Self

Constructs the type key for component type T.

Object Safety§

This trait is not object safe.

Implementors§