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§
Sourcefn enter_range(self, unit: impl Into<HubUnitController>)
fn enter_range(self, unit: impl Into<HubUnitController>)
EnterRange(crate::app::hubunitcontroller::HubUnitController) overload
Sourcefn leave_range(self, unit: impl Into<HubUnitController>)
fn leave_range(self, unit: impl Into<HubUnitController>)
LeaveRange(crate::app::hubunitcontroller::HubUnitController) 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: IHubAnimalController> IHubAnimalControllerMethods for __T
Available on crate feature
app-hubanimalcontroller only.