pub struct OnSingleplayerInit;Expand description
Called when LuaGameScript::is_multiplayer changes to false. May also be raised when it was already false but a game was loaded from a save file without hosting.
Implementations§
Trait Implementations§
Source§impl Clone for OnSingleplayerInit
impl Clone for OnSingleplayerInit
Source§fn clone(&self) -> OnSingleplayerInit
fn clone(&self) -> OnSingleplayerInit
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 OnSingleplayerInit
Source§impl Debug for OnSingleplayerInit
impl Debug for OnSingleplayerInit
impl Eq for OnSingleplayerInit
Source§impl PartialEq for OnSingleplayerInit
impl PartialEq for OnSingleplayerInit
impl StructuralPartialEq for OnSingleplayerInit
Auto Trait Implementations§
impl Freeze for OnSingleplayerInit
impl RefUnwindSafe for OnSingleplayerInit
impl Send for OnSingleplayerInit
impl Sync for OnSingleplayerInit
impl Unpin for OnSingleplayerInit
impl UnsafeUnpin for OnSingleplayerInit
impl UnwindSafe for OnSingleplayerInit
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