pub struct OnForcesMergingEvent {
pub destination: LuaForce,
pub name: &'static str,
pub source: LuaForce,
pub tick: u32,
}Expand description
Called when two forces are about to be merged using game.merge_forces().
Fields§
§destination: LuaForce§name: &'static str§source: LuaForce§tick: u32Trait Implementations§
Source§impl Clone for OnForcesMergingEvent
impl Clone for OnForcesMergingEvent
Source§fn clone(&self) -> OnForcesMergingEvent
fn clone(&self) -> OnForcesMergingEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnForcesMergingEvent
Source§impl Debug for OnForcesMergingEvent
impl Debug for OnForcesMergingEvent
Source§impl Default for OnForcesMergingEvent
impl Default for OnForcesMergingEvent
Source§fn default() -> OnForcesMergingEvent
fn default() -> OnForcesMergingEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnForcesMergingEvent
impl PartialEq for OnForcesMergingEvent
impl StructuralPartialEq for OnForcesMergingEvent
Auto Trait Implementations§
impl Freeze for OnForcesMergingEvent
impl RefUnwindSafe for OnForcesMergingEvent
impl Send for OnForcesMergingEvent
impl Sync for OnForcesMergingEvent
impl Unpin for OnForcesMergingEvent
impl UnsafeUnpin for OnForcesMergingEvent
impl UnwindSafe for OnForcesMergingEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more