Skip to main content

IMapAction_ProcUnitActionMethods

Trait IMapAction_ProcUnitActionMethods 

Source
pub trait IMapAction_ProcUnitActionMethods: IMapAction_ProcUnitAction {
    // Provided methods
    fn get_can_wait_skip(self) -> bool { ... }
    fn get_speed(self) -> f32 { ... }
    fn ctor(self, actor: impl Into<UnitActor>) { ... }
    fn ctor_2(
        self,
        actor: impl Into<UnitActor>,
        to_x: impl Into<i32>,
        to_z: impl Into<i32>,
    ) { ... }
    fn calc_range(self, dx: impl Into<f32>, dz: impl Into<f32>) { ... }
    fn add_time(self) -> bool { ... }
    fn get_ratio(self) -> f32 { ... }
    fn on_create(self) { ... }
    fn on_dispose(self) { ... }
    fn get_unit(self) -> Unit { ... }
}

Provided Methods§

Source

fn get_can_wait_skip(self) -> bool

get_CanWaitSkip() overload

Source

fn get_speed(self) -> f32

get_Speed() overload

Source

fn ctor(self, actor: impl Into<UnitActor>)

.ctor(crate::app::unitactor::UnitActor) overload

Source

fn ctor_2( self, actor: impl Into<UnitActor>, to_x: impl Into<i32>, to_z: impl Into<i32>, )

.ctor(crate::app::unitactor::UnitActor, i32, i32) overload

Source

fn calc_range(self, dx: impl Into<f32>, dz: impl Into<f32>)

CalcRange(f32, f32) overload

Source

fn add_time(self) -> bool

AddTime() overload

Source

fn get_ratio(self) -> f32

GetRatio() overload

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn get_unit(self) -> Unit

get_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: IMapAction_ProcUnitAction> IMapAction_ProcUnitActionMethods for __T

Available on crate feature app-mapaction only.