Module reflect

Source
Available on crate feature bevy_reflect only.
Expand description

Types that enable reflection support.

Structs§

AppTypeRegistry
A Resource storing TypeRegistry for type registrations relevant to a whole app.
ReflectBundle
A struct used to operate on reflected Bundle trait of a type.
ReflectBundleFns
The raw function pointers needed to make up a ReflectBundle.
ReflectComponent
A struct used to operate on reflected Component trait of a type.
ReflectComponentFns
The raw function pointers needed to make up a ReflectComponent.
ReflectFromWorld
A struct used to operate on the reflected FromWorld trait of a type.
ReflectFromWorldFns
The raw function pointers needed to make up a ReflectFromWorld.
ReflectMapEntities
For a specific type of value, this maps any fields with values of type Entity to a new world.
ReflectResource
A struct used to operate on reflected Resource of a type.
ReflectResourceFns
The raw function pointers needed to make up a ReflectResource.
ReflectVisitEntities
For a reflected value, apply an operation to all contained entities.
ReflectVisitEntitiesMut
For a reflected value, apply an operation to mutable references to all contained entities.

Traits§

ReflectCommandExt
An extension trait for EntityCommands for reflection related functions

Functions§

from_reflect_with_fallback
Creates a T from a &dyn PartialReflect.