Expand description
Types that enable reflection support.
Structs§
- A
Resource
storing [TypeRegistry
] for type registrations relevant to a whole app. - A struct used to operate on reflected
Bundle
trait of a type. - The raw function pointers needed to make up a
ReflectBundle
. - A struct used to operate on reflected
Component
trait of a type. - The raw function pointers needed to make up a
ReflectComponent
. - A struct used to operate on the reflected
FromWorld
trait of a type. - The raw function pointers needed to make up a
ReflectFromWorld
. - For a specific type of component, this maps any fields with values of type
Entity
to a new world. Since a givenEntity
ID is only valid for the world it came from, when performing deserialization any stored IDs need to be re-allocated in the destination world. - For a specific type of resource, this maps any fields with values of type
Entity
to a new world. Since a givenEntity
ID is only valid for the world it came from, when performing deserialization any stored IDs need to be re-allocated in the destination world. - A struct used to operate on reflected
Resource
of a type. - The raw function pointers needed to make up a
ReflectResource
.
Traits§
- An extension trait for
EntityCommands
for reflection related functions