logo

Trait bevy::reflect::FromReflect[]

pub trait FromReflect: Reflect {
    fn from_reflect(reflect: &(dyn Reflect + 'static)) -> Option<Self>;
}

Required methods

Creates a clone of a reflected value, converting it to a concrete type if it was a dynamic types (e.g. DynamicStruct)

Implementations on Foreign Types

Implementors