Struct oxygengine_core::prefab::PrefabSceneEntityData [−][src]
pub struct PrefabSceneEntityData { pub uid: Option<String>, pub components: HashMap<String, PrefabValue>, }
Fields
uid: Option<String>
components: HashMap<String, PrefabValue>
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
fn from_prefab_with_extras(
data: PrefabValue,
_named_entities: &HashMap<String, Entity>,
_state_token: StateToken
) -> Result<Self, PrefabError>
[src]Auto Trait Implementations
impl RefUnwindSafe for PrefabSceneEntityData
impl Send for PrefabSceneEntityData
impl Sync for PrefabSceneEntityData
impl Unpin for PrefabSceneEntityData
impl UnwindSafe for PrefabSceneEntityData
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more
Tries to create the default.
Calls try_default
and panics on an error case.