pub trait IGodLevelUpSequenceMethods: IGodLevelUpSequence {
// Provided methods
fn ctor(
self,
god_unit: impl Into<GodUnit>,
unit: impl Into<Unit>,
god_data: impl Into<GodData>,
) { ... }
fn leve_up(self) { ... }
fn on_create(self) { ... }
fn on_dispose(self) { ... }
}Provided Methods§
Sourcefn ctor(
self,
god_unit: impl Into<GodUnit>,
unit: impl Into<Unit>,
god_data: impl Into<GodData>,
)
fn ctor( self, god_unit: impl Into<GodUnit>, unit: impl Into<Unit>, god_data: impl Into<GodData>, )
.ctor(crate::app::godunit::GodUnit, crate::app::unit::Unit, crate::app::goddata::GodData) overload
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() 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: IGodLevelUpSequence> IGodLevelUpSequenceMethods for __T
Available on crate feature
app-godlevelupsequence only.