Trait IPrefabViewConcept
pub trait IPrefabViewConcept: Inherits<Object> + Inherits<PrefabViewConcept> {
// Provided methods
fn get_prefab(&self) -> Result<Option<Weak<Resource>>, Error> { ... }
fn set_prefab(&self, value: Option<&Resource>) -> Result<(), Error> { ... }
}Expand description
Prefab view concept class.
Provided Methods§
fn get_prefab(&self) -> Result<Option<Weak<Resource>>, Error>
fn get_prefab(&self) -> Result<Option<Weak<Resource>>, Error>
See: PREFAB_PROPERTY
fn set_prefab(&self, value: Option<&Resource>) -> Result<(), Error>
fn set_prefab(&self, value: Option<&Resource>) -> Result<(), Error>
See: PREFAB_PROPERTY
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.