Skip to main content

IUnitCalculator_WeaponLevelBaseCommandMethods

Trait IUnitCalculator_WeaponLevelBaseCommandMethods 

Source
pub trait IUnitCalculator_WeaponLevelBaseCommandMethods: IUnitCalculator_WeaponLevelBaseCommand {
    // Provided methods
    fn get_unit_weapon_level(
        self,
        unit: impl Into<Unit>,
        unit_item: impl Into<UnitItem>,
    ) -> WeaponLevel_Kind { ... }
    fn get_impl(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
    fn get_impl_2(self, unit: impl Into<Unit>) -> f32 { ... }
    fn get_value(self, level: impl Into<WeaponLevel_Kind>) -> f32 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_unit_weapon_level( self, unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> WeaponLevel_Kind

GetUnitWeaponLevel(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload

Source

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

GetImpl(crate::app::battleinfoside::BattleInfoSide) overload

Source

fn get_impl_2(self, unit: impl Into<Unit>) -> f32

GetImpl(crate::app::unit::Unit) overload

Source

fn get_value(self, level: impl Into<WeaponLevel_Kind>) -> f32

GetValue(crate::app::weaponlevel::WeaponLevel_Kind) overload

Source

fn ctor(self)

.ctor() 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: IUnitCalculator_WeaponLevelBaseCommand> IUnitCalculator_WeaponLevelBaseCommandMethods for __T

Available on crate feature app-unitcalculator only.