pub struct OnPlayerChangedForceEvent {
pub force: LuaForce,
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called after a player changes forces.
Fields§
§force: LuaForce§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerChangedForceEvent
impl Clone for OnPlayerChangedForceEvent
Source§fn clone(&self) -> OnPlayerChangedForceEvent
fn clone(&self) -> OnPlayerChangedForceEvent
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 OnPlayerChangedForceEvent
Source§impl Debug for OnPlayerChangedForceEvent
impl Debug for OnPlayerChangedForceEvent
Source§impl Default for OnPlayerChangedForceEvent
impl Default for OnPlayerChangedForceEvent
Source§fn default() -> OnPlayerChangedForceEvent
fn default() -> OnPlayerChangedForceEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerChangedForceEvent
Auto Trait Implementations§
impl Freeze for OnPlayerChangedForceEvent
impl RefUnwindSafe for OnPlayerChangedForceEvent
impl Send for OnPlayerChangedForceEvent
impl Sync for OnPlayerChangedForceEvent
impl Unpin for OnPlayerChangedForceEvent
impl UnsafeUnpin for OnPlayerChangedForceEvent
impl UnwindSafe for OnPlayerChangedForceEvent
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