Skip to main content

IBattleInfo_SupportListMethods

Trait IBattleInfo_SupportListMethods 

Source
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§

Source

fn ctor(self)

.ctor() overload

Source

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

Source

fn sort(self, offense: impl Into<Unit>, defense: impl Into<Unit>)

Sort(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn add(self, unit: impl Into<Unit>)

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

Source

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§

Source§

impl<__T: IBattleInfo_SupportList> IBattleInfo_SupportListMethods for __T

Available on crate feature app-battleinfo only.