Trait bevy_internal::reflect::GetTypeRegistration
source · pub trait GetTypeRegistration {
// Required method
fn get_type_registration() -> TypeRegistration;
}Expand description
A trait which allows a type to generate its TypeRegistration
for registration into the TypeRegistry.
This trait is automatically implemented for items using #[derive(Reflect)].
The macro also allows TypeData to be more easily registered.
See the crate-level documentation for more information on type registration.
Required Methods§
Object Safety§
This trait is not object safe.