#[repr(C)]pub struct BattleUtil_CalcScope {
pub info: BattleInfo,
pub calc: BattleCalculator,
}Expand description
Fields§
§info: BattleInfo§calc: BattleCalculatorImplementations§
Source§impl BattleUtil_CalcScope
impl BattleUtil_CalcScope
pub fn s_stack() -> Stack_1<BattleCalculator>
pub fn set_s_stack(value: Stack_1<BattleCalculator>)
Source§impl BattleUtil_CalcScope
impl BattleUtil_CalcScope
Sourcepub fn ctor(
&mut self,
unit: impl Into<Unit>,
flags: impl Into<BattleInfo_Flags>,
)
pub fn ctor( &mut self, unit: impl Into<Unit>, flags: impl Into<BattleInfo_Flags>, )
.ctor(crate::app::unit::Unit, crate::app::battleinfo::BattleInfo_Flags) overload
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
Source§impl BattleUtil_CalcScope
impl BattleUtil_CalcScope
pub fn ctor_method_info() -> &'static MethodInfo
pub fn dispose_method_info() -> &'static MethodInfo
pub fn get_side_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for BattleUtil_CalcScope
impl ClassIdentity for BattleUtil_CalcScope
Source§impl Clone for BattleUtil_CalcScope
impl Clone for BattleUtil_CalcScope
Source§fn clone(&self) -> BattleUtil_CalcScope
fn clone(&self) -> BattleUtil_CalcScope
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 BattleUtil_CalcScope
Auto Trait Implementations§
impl Freeze for BattleUtil_CalcScope
impl RefUnwindSafe for BattleUtil_CalcScope
impl !Send for BattleUtil_CalcScope
impl !Sync for BattleUtil_CalcScope
impl Unpin for BattleUtil_CalcScope
impl UnwindSafe for BattleUtil_CalcScope
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)