Skip to main content

IMapImageUnitMethods

Trait IMapImageUnitMethods 

Source
pub trait IMapImageUnitMethods: IMapImageUnit {
Show 18 methods // Provided methods fn get_unit(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit { ... } fn get_unit_with_mind(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit { ... } fn update(self) { ... } fn update_2(self, unit: impl Into<Unit>) { ... } fn try_add(self, unit: impl Into<Unit>) -> bool { ... } fn try_delete(self, unit: impl Into<Unit>) -> bool { ... } fn update_support_skill(self) { ... } fn update_support_skill_2( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn add_impl( self, unit: impl Into<Unit>, base_x: impl Into<i32>, base_z: impl Into<i32>, ) { ... } fn delete_impl( self, unit: impl Into<Unit>, base_x: impl Into<i32>, base_z: impl Into<i32>, ) { ... } fn add(self, unit: impl Into<Unit>) { ... } fn add_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>) { ... } fn add_no_updating_support_skill( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn delete(self, unit: impl Into<Unit>) { ... } fn delete_2( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn delete_no_updating_support_skill( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn try_move( self, unit: impl Into<Unit>, old_x: impl Into<i32>, old_z: impl Into<i32>, new_x: impl Into<i32>, new_z: impl Into<i32>, ) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_unit(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit

GetUnit(i32, i32) overload

Source

fn get_unit_with_mind(self, x: impl Into<i32>, z: impl Into<i32>) -> Unit

GetUnitWithMind(i32, i32) overload

Source

fn update(self)

Update() overload

Source

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

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

Source

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

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

Source

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

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

Source

fn update_support_skill(self)

UpdateSupportSkill() overload

Source

fn update_support_skill_2( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, )

UpdateSupportSkill(crate::app::unit::Unit, i32, i32) overload

Source

fn add_impl( self, unit: impl Into<Unit>, base_x: impl Into<i32>, base_z: impl Into<i32>, )

AddImpl(crate::app::unit::Unit, i32, i32) overload

Source

fn delete_impl( self, unit: impl Into<Unit>, base_x: impl Into<i32>, base_z: impl Into<i32>, )

DeleteImpl(crate::app::unit::Unit, i32, i32) overload

Source

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

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

Source

fn add_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)

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

Source

fn add_no_updating_support_skill( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, )

AddNoUpdatingSupportSkill(crate::app::unit::Unit, i32, i32) overload

Source

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

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

Source

fn delete_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)

Delete(crate::app::unit::Unit, i32, i32) overload

Source

fn delete_no_updating_support_skill( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, )

DeleteNoUpdatingSupportSkill(crate::app::unit::Unit, i32, i32) overload

Source

fn try_move( self, unit: impl Into<Unit>, old_x: impl Into<i32>, old_z: impl Into<i32>, new_x: impl Into<i32>, new_z: impl Into<i32>, ) -> bool

TryMove(crate::app::unit::Unit, i32, i32, i32, i32) overload

Source

fn ctor(self)

.ctor() 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: IMapImageUnit> IMapImageUnitMethods for __T

Available on crate feature app-mapimageunit only.