Trait bevy_reflect::FromType
source · pub trait FromType<T> {
// Required method
fn from_type() -> Self;
}Expand description
Trait used to generate TypeData for trait reflection.
This is used by the #[derive(Reflect)] macro to generate an implementation
of TypeData to pass to TypeRegistration::insert.
Required Methods§
Object Safety§
This trait is not object safe.