pub trait PrefabProxy<P>: Component + Sizedwhere
    P: Prefab,{
    // Required method
    fn from_proxy_with_extras(
        proxy: P,
        named_entities: &HashMap<String, Entity, RandomState>,
        state_token: ID<PhantomData<dyn State + Sync + Send>>
    ) -> Result<Self, PrefabError>;
}

Required Methods§

source

fn from_proxy_with_extras( proxy: P, named_entities: &HashMap<String, Entity, RandomState>, state_token: ID<PhantomData<dyn State + Sync + Send>> ) -> Result<Self, PrefabError>

Implementors§