pub trait IUnitCalculator_ProbabilityCommandMethods: IUnitCalculator_ProbabilityCommand {
// Provided methods
fn get_result(
self,
side: impl Into<BattleSide_Type>,
percent: impl Into<i32>,
) -> f32 { ... }
fn func_impl(
self,
unit: impl Into<Unit>,
args: impl Into<List_1<f32>>,
) -> f32 { ... }
fn func_impl_2(
self,
side: impl Into<BattleInfoSide>,
args: impl Into<List_1<f32>>,
) -> f32 { ... }
fn get_correct(self, unit: impl Into<Unit>) -> f32 { ... }
fn get_correct_2(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_result(
self,
side: impl Into<BattleSide_Type>,
percent: impl Into<i32>,
) -> f32
fn get_result( self, side: impl Into<BattleSide_Type>, percent: impl Into<i32>, ) -> f32
GetResult(crate::app::battleside::BattleSide_Type, i32) overload
Sourcefn func_impl(self, unit: impl Into<Unit>, args: impl Into<List_1<f32>>) -> f32
fn func_impl(self, unit: impl Into<Unit>, args: impl Into<List_1<f32>>) -> f32
FuncImpl(crate::app::unit::Unit, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcefn func_impl_2(
self,
side: impl Into<BattleInfoSide>,
args: impl Into<List_1<f32>>,
) -> f32
fn func_impl_2( self, side: impl Into<BattleInfoSide>, args: impl Into<List_1<f32>>, ) -> f32
FuncImpl(crate::app::battleinfoside::BattleInfoSide, crate::system::collections::generic::list_1::List_1<f32>) overload
Sourcefn get_correct(self, unit: impl Into<Unit>) -> f32
fn get_correct(self, unit: impl Into<Unit>) -> f32
GetCorrect(crate::app::unit::Unit) overload
Sourcefn get_correct_2(self, side: impl Into<BattleInfoSide>) -> f32
fn get_correct_2(self, side: impl Into<BattleInfoSide>) -> f32
GetCorrect(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§
impl<__T: IUnitCalculator_ProbabilityCommand> IUnitCalculator_ProbabilityCommandMethods for __T
Available on crate feature
app-unitcalculator only.