pub trait IMapPrefabMethods: IMapPrefab {
// Provided methods
fn has_object(self, go: impl Into<GameObject>) -> bool { ... }
fn add(self, entity: impl Into<MapPrefab_Entity>) { ... }
fn sort(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn has_object(self, go: impl Into<GameObject>) -> bool
fn has_object(self, go: impl Into<GameObject>) -> bool
HasObject(crate::unity_engine::gameobject::GameObject) overload
Sourcefn add(self, entity: impl Into<MapPrefab_Entity>)
fn add(self, entity: impl Into<MapPrefab_Entity>)
Add(crate::app::mapprefab::MapPrefab_Entity) overload
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.
Implementors§
impl<__T: IMapPrefab> IMapPrefabMethods for __T
Available on crate feature
app-mapprefab only.