Skip to main content

IMapPrefabMethods

Trait IMapPrefabMethods 

Source
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§

Source

fn has_object(self, go: impl Into<GameObject>) -> bool

HasObject(crate::unity_engine::gameobject::GameObject) overload

Source

fn add(self, entity: impl Into<MapPrefab_Entity>)

Add(crate::app::mapprefab::MapPrefab_Entity) overload

Source

fn sort(self)

Sort() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IMapPrefab> IMapPrefabMethods for __T

Available on crate feature app-mapprefab only.