Trait bevy::reflect::FromType[]

pub trait FromType<T> {
    pub fn from_type() -> Self;
}

Required methods

pub fn from_type() -> Self

Loading content...

Implementors

impl<C> FromType<C> for ReflectComponent where
    C: Component + Reflect + FromWorld

impl<C> FromType<C> for ReflectMapEntities where
    C: Component + MapEntities

impl<T> FromType<T> for ReflectDeserialize where
    T: for<'a> Deserialize<'a> + Reflect

Loading content...