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§
Sourcefn get_unit_with_mind(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
GetUnitWithMind(i32, i32) overload
Sourcefn try_delete(self, unit: impl Into<Unit>) -> bool
fn try_delete(self, unit: impl Into<Unit>) -> bool
TryDelete(crate::app::unit::Unit) overload
Sourcefn update_support_skill(self)
fn update_support_skill(self)
UpdateSupportSkill() overload
Sourcefn update_support_skill_2(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
)
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
Sourcefn add_impl(
self,
unit: impl Into<Unit>,
base_x: impl Into<i32>,
base_z: impl Into<i32>,
)
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
Sourcefn delete_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>, )
DeleteImpl(crate::app::unit::Unit, i32, i32) overload
Sourcefn add_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)
fn add_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)
Add(crate::app::unit::Unit, i32, i32) overload
Sourcefn add_no_updating_support_skill(
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>, )
AddNoUpdatingSupportSkill(crate::app::unit::Unit, i32, i32) overload
Sourcefn delete_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)
fn delete_2(self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>)
Delete(crate::app::unit::Unit, i32, i32) overload
Sourcefn delete_no_updating_support_skill(
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>, )
DeleteNoUpdatingSupportSkill(crate::app::unit::Unit, i32, i32) 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: IMapImageUnit> IMapImageUnitMethods for __T
Available on crate feature
app-mapimageunit only.