Skip to main content

IUnitActorsMethods

Trait IUnitActorsMethods 

Source
pub trait IUnitActorsMethods: IUnitActors {
    // Provided methods
    fn update(self) { ... }
    fn late_update(self) { ... }
    fn create_actor_impl(self, unit: impl Into<Unit>) { ... }
    fn delete_actor_impl(self, unit: impl Into<Unit>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn update(self)

Update() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn create_actor_impl(self, unit: impl Into<Unit>)

CreateActorImpl(crate::app::unit::Unit) overload

Source

fn delete_actor_impl(self, unit: impl Into<Unit>)

DeleteActorImpl(crate::app::unit::Unit) 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: IUnitActors> IUnitActorsMethods for __T

Available on crate feature app-unitactors only.