Struct oxygengine_core::prefab::PrefabScene [−][src]
pub struct PrefabScene {
pub autoload: bool,
pub template_name: Option<String>,
pub dependencies: Vec<String>,
pub entities: Vec<PrefabSceneEntity>,
}Fields
autoload: booltemplate_name: Option<String>dependencies: Vec<String>entities: Vec<PrefabSceneEntity>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 PrefabSceneimpl Send for PrefabSceneimpl Sync for PrefabSceneimpl Unpin for PrefabSceneimpl UnwindSafe for PrefabSceneBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeIdMutably borrows from an owned value. Read more
Tries to create the default.
Calls try_default and panics on an error case.