#[repr(C)]pub struct BattleInfo_SetupScope {
pub m_info: BattleInfo,
pub m_offense: Unit,
pub m_defense: Unit,
pub m_updated: u8,
}Expand description
Fields§
§m_info: BattleInfo§m_offense: Unit§m_defense: Unit§m_updated: u8Implementations§
Source§impl BattleInfo_SetupScope
impl BattleInfo_SetupScope
Sourcepub fn get_side(&mut self, side: impl Into<BattleSide_Type>) -> BattleInfoSide
pub fn get_side(&mut self, side: impl Into<BattleSide_Type>) -> BattleInfoSide
GetSide(crate::app::battleside::BattleSide_Type) overload
Sourcepub fn ctor(
&mut self,
info: impl Into<BattleInfo>,
offense: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
defense: impl Into<Unit>,
revenge_item: impl Into<UnitItem>,
attack_x: impl Into<i32>,
attack_z: impl Into<i32>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
)
pub fn ctor( &mut self, info: impl Into<BattleInfo>, offense: impl Into<Unit>, unit_item: impl Into<UnitItem>, defense: impl Into<Unit>, revenge_item: impl Into<UnitItem>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, )
.ctor(crate::app::battleinfo::BattleInfo, crate::app::unit::Unit, crate::app::unititem::UnitItem, crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, i32, i32) overload
Source§impl BattleInfo_SetupScope
impl BattleInfo_SetupScope
pub fn get_side_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn dispose_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for BattleInfo_SetupScope
impl Clone for BattleInfo_SetupScope
Source§fn clone(&self) -> BattleInfo_SetupScope
fn clone(&self) -> BattleInfo_SetupScope
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BattleInfo_SetupScope
Auto Trait Implementations§
impl Freeze for BattleInfo_SetupScope
impl RefUnwindSafe for BattleInfo_SetupScope
impl !Send for BattleInfo_SetupScope
impl !Sync for BattleInfo_SetupScope
impl Unpin for BattleInfo_SetupScope
impl UnwindSafe for BattleInfo_SetupScope
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)