pub trait IBattleCalculator_OrderListMethods: IBattleCalculator_OrderList {
// Provided methods
fn ctor(self) { ... }
fn try_add(
self,
info: impl Into<BattleInfo>,
side: impl Into<BattleSide_Type>,
) { ... }
fn can_swap(
self,
side: impl Into<BattleSide_Type>,
index: impl Into<i32>,
) -> bool { ... }
}Provided Methods§
Sourcefn try_add(self, info: impl Into<BattleInfo>, side: impl Into<BattleSide_Type>)
fn try_add(self, info: impl Into<BattleInfo>, side: impl Into<BattleSide_Type>)
TryAdd(crate::app::battleinfo::BattleInfo, crate::app::battleside::BattleSide_Type) overload
Sourcefn can_swap(
self,
side: impl Into<BattleSide_Type>,
index: impl Into<i32>,
) -> bool
fn can_swap( self, side: impl Into<BattleSide_Type>, index: impl Into<i32>, ) -> bool
CanSwap(crate::app::battleside::BattleSide_Type, i32) 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: IBattleCalculator_OrderList> IBattleCalculator_OrderListMethods for __T
Available on crate feature
app-battlecalculator only.