Skip to main content

IHubAnimalControllerMethods

Trait IHubAnimalControllerMethods 

Source
pub trait IHubAnimalControllerMethods: IHubAnimalController {
    // Provided methods
    fn awake(self) { ... }
    fn update(self) { ... }
    fn enter_range(self, unit: impl Into<HubUnitController>) { ... }
    fn leave_range(self, unit: impl Into<HubUnitController>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn update(self)

Update() overload

Source

fn enter_range(self, unit: impl Into<HubUnitController>)

EnterRange(crate::app::hubunitcontroller::HubUnitController) overload

Source

fn leave_range(self, unit: impl Into<HubUnitController>)

LeaveRange(crate::app::hubunitcontroller::HubUnitController) 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: IHubAnimalController> IHubAnimalControllerMethods for __T

Available on crate feature app-hubanimalcontroller only.