pub trait IBattleInfo_SupportListMethods: IBattleInfo_SupportList {
// Provided methods
fn ctor(self) { ... }
fn compare(
self,
a: impl Into<BattleInfo_SupportData>,
b: impl Into<BattleInfo_SupportData>,
) -> i32 { ... }
fn sort(self, offense: impl Into<Unit>, defense: impl Into<Unit>) { ... }
fn add(self, unit: impl Into<Unit>) { ... }
fn add_2(
self,
unit: impl Into<Unit>,
status: impl Into<BattleInfoSide_Status>,
) { ... }
}Provided Methods§
Sourcefn compare(
self,
a: impl Into<BattleInfo_SupportData>,
b: impl Into<BattleInfo_SupportData>,
) -> i32
fn compare( self, a: impl Into<BattleInfo_SupportData>, b: impl Into<BattleInfo_SupportData>, ) -> i32
Compare(crate::app::battleinfo::BattleInfo_SupportData, crate::app::battleinfo::BattleInfo_SupportData) overload
Sourcefn sort(self, offense: impl Into<Unit>, defense: impl Into<Unit>)
fn sort(self, offense: impl Into<Unit>, defense: impl Into<Unit>)
Sort(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn add_2(self, unit: impl Into<Unit>, status: impl Into<BattleInfoSide_Status>)
fn add_2(self, unit: impl Into<Unit>, status: impl Into<BattleInfoSide_Status>)
Add(crate::app::unit::Unit, crate::app::battleinfoside::BattleInfoSide_Status) 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: IBattleInfo_SupportList> IBattleInfo_SupportListMethods for __T
Available on crate feature
app-battleinfo only.