Skip to main content

IBattleGrowMethods

Trait IBattleGrowMethods 

Source
pub trait IBattleGrowMethods: IBattleGrow {
    // Provided methods
    fn ctor(
        self,
        calculator: impl Into<BattleCalculator>,
        is_talk: impl Into<bool>,
    ) { ... }
    fn gain_exp(self) { ... }
}

Provided Methods§

Source

fn ctor(self, calculator: impl Into<BattleCalculator>, is_talk: impl Into<bool>)

.ctor(crate::app::battlecalculator::BattleCalculator, bool) overload

Source

fn gain_exp(self)

GainExp() 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: IBattleGrow> IBattleGrowMethods for __T

Available on crate feature app-battlegrow only.