Skip to main content

IBattleDetail_CommandParamMethods

Trait IBattleDetail_CommandParamMethods 

Source
pub trait IBattleDetail_CommandParamMethods: IBattleDetail_CommandParam {
    // Provided methods
    fn ctor(self, command: impl Into<Il2CppString>) { ... }
    fn get_command(self) -> CalculatorCommand { ... }
    fn get(
        self,
        name: impl Into<Il2CppString>,
        side: impl Into<BattleInfoSide>,
    ) -> f32 { ... }
    fn calculate(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
}

Provided Methods§

Source

fn ctor(self, command: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn get_command(self) -> CalculatorCommand

get_Command() overload

Source

fn get( self, name: impl Into<Il2CppString>, side: impl Into<BattleInfoSide>, ) -> f32

Get(::unity::Il2CppString, crate::app::battleinfoside::BattleInfoSide) 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_CommandParam> IBattleDetail_CommandParamMethods for __T

Available on crate feature app-battledetail only.