Skip to main content

IBattleDetail_SimplePowerParamMethods

Trait IBattleDetail_SimplePowerParamMethods 

Source
pub trait IBattleDetail_SimplePowerParamMethods: IBattleDetail_SimplePowerParam {
    // Provided methods
    fn ctor(self) { ... }
    fn calculate(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn calculate(self, side: impl Into<BattleInfoSide>) -> f32

Calculate(crate::app::battleinfoside::BattleInfoSide) 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: IBattleDetail_SimplePowerParam> IBattleDetail_SimplePowerParamMethods for __T

Available on crate feature app-battledetail only.