mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
Add TypePath to the prelude (#9963)
# Objective In order to derive `Asset`s (v2), `TypePath` must also be implemented. `TypePath` is not currently in the prelude, but given it is *required* when deriving something that *is* in the prelude, I think it deserves to be added. ## Solution Add `TypePath` to `bevy_reflect::prelude`.
This commit is contained in:
parent
7a72bac779
commit
f8fd93f418
1 changed files with 1 additions and 0 deletions
|
@ -515,6 +515,7 @@ pub mod prelude {
|
|||
pub use crate::{
|
||||
reflect_trait, FromReflect, GetField, GetPath, GetTupleStructField, Reflect,
|
||||
ReflectDeserialize, ReflectFromReflect, ReflectPath, ReflectSerialize, Struct, TupleStruct,
|
||||
TypePath,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue