Skip to main content

IGodLevelUpSequenceMethods

Trait IGodLevelUpSequenceMethods 

Source
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§

Source

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

Source

fn leve_up(self)

LeveUp() overload

Source

fn on_create(self)

OnCreate() overload

Source

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§

Source§

impl<__T: IGodLevelUpSequence> IGodLevelUpSequenceMethods for __T

Available on crate feature app-godlevelupsequence only.