bevy_reflect: Add ReflectFromReflect to the prelude (#8496)

# Objective

Considering that `FromReflect` is a very common trait to derive, it
would make sense to include `ReflectFromReflect` in the `bevy_reflect`
prelude so users don't need to import it separately.

## Solution

Add `ReflectFromReflect` to the prelude.
This commit is contained in:
Gino Valente 2023-04-26 05:16:17 -07:00 committed by GitHub
parent 6df65a2aa8
commit 74d425263a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,7 +479,7 @@ pub mod prelude {
#[doc(hidden)]
pub use crate::{
reflect_trait, FromReflect, GetField, GetTupleStructField, Reflect, ReflectDeserialize,
ReflectSerialize, Struct, TupleStruct,
ReflectFromReflect, ReflectSerialize, Struct, TupleStruct,
};
}