Expand description
Type reflection used for dynamically interacting with rust types.
Modules
Helpers for working with Bevy reflection.
Macros
A replacement for
#[derive(Reflect)]
to be used with foreign types which
the definitions of cannot be altered.Structs
A container for compile-time array info.
A fixed-size list of reflected values.
A dynamic representation of an enum.
A container for compile-time info related to Bevy’s dynamic types, including primitives.
A list of reflected values.
An ordered mapping between reflected values.
A struct type which allows fields to be added at runtime.
A tuple which allows fields to be added at runtime.
A tuple struct which allows fields to be added at runtime.
An iterator over the field values of a struct.
A container for compile-time list info.
A container for compile-time map info.
The named field of a reflected struct.
A struct used to deserialize reflected instances of a type.
A
Hasher
for hashing an arbitrary stream of bytes.A struct used to serialize reflected instances of a type.
A container for compile-time struct info.
Type info for struct variants.
An iterator over the field values of a tuple.
A container for compile-time tuple info.
An iterator over the field values of a tuple struct.
A container for compile-time tuple struct info.
Type info for tuple variants.
A record of data about a type.
A synchronized wrapper around a
TypeRegistry
.A synchronized wrapper around a
TypeRegistry
.A registry of reflected types.
Type info for unit variants.
The unnamed field of a reflected tuple or tuple struct.
A Universally Unique Identifier (UUID).
A container for compile-time info related to general value types, including primitives.
An iterator over the fields in the current enum variant.
Enums
A dynamic representation of an enum variant.
A mutable enumeration of “kinds” of reflected type.
An owned enumeration of “kinds” of reflected type.
An error returned from a failed path string query.
An immutable enumeration of “kinds” of reflected type.
Compile-time type information for various reflected types.
A container for compile-time enum variant info.
Describes the form of an enum variant.
Traits
A trait for types which can be constructed from a reflected type.
A convenience trait which combines fetching and downcasting of struct
fields.
A trait which allows nested values to be retrieved with path strings.
A convenience trait which combines fetching and downcasting of tuple
fields.
A convenience trait which combines fetching and downcasting of tuple
struct fields.
A trait which allows a type to generate its
TypeRegistration
.An ordered, mutable list of Reflect items. This corresponds to types like
std::vec::Vec
.A reflected Rust type.
A reflected Rust regular struct type.
A reflected Rust tuple.
A reflected Rust tuple struct.
A trait for types generated by the
#[reflect_trait]
attribute macro.A trait for types with a statically associated UUID.
A trait for types with an associated UUID.
A static accessor to compile-time type information.
Functions
The default debug formatter for
Array
types.Returns the
u64
hash of the given array.Compares two arrays (one concrete and one reflected) to see if they
are equal.
The default debug formatter for
Enum
types.Applies the elements of
b
to the corresponding elements of a
.The default debug formatter for
List
types.Applies the elements of reflected map
b
to the corresponding elements of map a
.The default debug formatter for
Struct
types.Applies the elements of
b
to the corresponding elements of a
.The default debug formatter for
Tuple
types.The default debug formatter for
TupleStruct
types.Compares a
TupleStruct
with a Reflect
value.