Skip to main content

IProcBattleCallbackMethods

Trait IProcBattleCallbackMethods 

Source
pub trait IProcBattleCallbackMethods: IProcBattleCallback {
    // Provided methods
    fn ctor(
        self,
        calculator: impl Into<BattleCalculator>,
        completed: impl Into<Action>,
        skipable: impl Into<bool>,
    ) { ... }
    fn on_create(self) { ... }
    fn on_dispose(self) { ... }
}

Provided Methods§

Source

fn ctor( self, calculator: impl Into<BattleCalculator>, completed: impl Into<Action>, skipable: impl Into<bool>, )

.ctor(crate::app::battlecalculator::BattleCalculator, crate::system::action::Action, bool) 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: IProcBattleCallback> IProcBattleCallbackMethods for __T

Available on crate feature app-procbattlecallback only.