Skip to main content

ISortieEntrust_ExecutorMethods

Trait ISortieEntrust_ExecutorMethods 

Source
pub trait ISortieEntrust_ExecutorMethods: ISortieEntrust_Executor {
    // Provided methods
    fn ctor(self) { ... }
    fn execute(self, unit: impl Into<Unit>) -> SortieEntrustResult { ... }
    fn prepare(self, unit: impl Into<Unit>) { ... }
    fn calc(self) { ... }
    fn calc_one(self, unit_data: impl Into<SortieEntrustUnitData>) { ... }
    fn reflect(self) { ... }
    fn check_inventroy_glut(self) -> bool { ... }
    fn check_inventroy_shortage(self) -> bool { ... }
    fn is_target(self, unit: impl Into<Unit>) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn execute(self, unit: impl Into<Unit>) -> SortieEntrustResult

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

Source

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

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

Source

fn calc(self)

Calc() overload

Source

fn calc_one(self, unit_data: impl Into<SortieEntrustUnitData>)

CalcOne(crate::app::sortieentrustunitdata::SortieEntrustUnitData) overload

Source

fn reflect(self)

Reflect() overload

Source

fn check_inventroy_glut(self) -> bool

CheckInventroyGlut() overload

Source

fn check_inventroy_shortage(self) -> bool

CheckInventroyShortage() overload

Source

fn is_target(self, unit: impl Into<Unit>) -> bool

IsTarget(crate::app::unit::Unit) 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: ISortieEntrust_Executor> ISortieEntrust_ExecutorMethods for __T

Available on crate feature app-sortieentrust only.