Struct oxygengine::core::prelude::ParentPrefabProxy
source · pub struct ParentPrefabProxy(pub String);
Tuple Fields§
§0: String
Trait Implementations§
source§impl Debug for ParentPrefabProxy
impl Debug for ParentPrefabProxy
source§impl Default for ParentPrefabProxy
impl Default for ParentPrefabProxy
source§fn default() -> ParentPrefabProxy
fn default() -> ParentPrefabProxy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ParentPrefabProxy
impl<'de> Deserialize<'de> for ParentPrefabProxy
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ParentPrefabProxy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ParentPrefabProxy, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Prefab for ParentPrefabProxy
impl Prefab for ParentPrefabProxy
fn from_prefab(data: &Value) -> Result<Self, PrefabError>
fn from_prefab_with_extras( data: &Value, _named_entities: &HashMap<String, Entity, RandomState>, _state_token: ID<PhantomData<dyn State + Send + Sync>> ) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<Value, PrefabError>
fn from_prefab_str(data: &str) -> Result<Self, PrefabError>
fn to_prefab_string(&self) -> Result<String, PrefabError>
fn post_from_prefab(&mut self)
source§impl PrefabProxy<ParentPrefabProxy> for Parent
impl PrefabProxy<ParentPrefabProxy> for Parent
fn from_proxy_with_extras( proxy: ParentPrefabProxy, named_entities: &HashMap<String, Entity, RandomState>, _: ID<PhantomData<dyn State + Send + Sync>> ) -> Result<Parent, PrefabError>
source§impl Serialize for ParentPrefabProxy
impl Serialize for ParentPrefabProxy
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ParentPrefabProxy
impl Send for ParentPrefabProxy
impl Sync for ParentPrefabProxy
impl Unpin for ParentPrefabProxy
impl UnwindSafe for ParentPrefabProxy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more