pub trait IMapImageHistoryMethods: IMapImageHistory {
// Provided methods
fn clear(self) { ... }
fn update_phase(self) { ... }
fn add_dead(self, unit: impl Into<Unit>) { ... }
fn add_battle(self, unit: impl Into<Unit>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn update_phase(self)
fn update_phase(self)
UpdatePhase() overload
Sourcefn add_battle(self, unit: impl Into<Unit>)
fn add_battle(self, unit: impl Into<Unit>)
AddBattle(crate::app::unit::Unit) 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: IMapImageHistory> IMapImageHistoryMethods for __T
Available on crate feature
app-mapimagehistory only.