pub struct OnRocketLaunchOrderedEvent {
pub name: &'static str,
pub player_index: u32,
pub rocket: LuaEntity,
pub rocket_silo: LuaEntity,
pub tick: u32,
}Expand description
Called when a rocket silo is ordered to be launched.
Fields§
§name: &'static str§player_index: u32§rocket: LuaEntity§rocket_silo: LuaEntity§tick: u32Trait Implementations§
Source§impl Clone for OnRocketLaunchOrderedEvent
impl Clone for OnRocketLaunchOrderedEvent
Source§fn clone(&self) -> OnRocketLaunchOrderedEvent
fn clone(&self) -> OnRocketLaunchOrderedEvent
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 OnRocketLaunchOrderedEvent
Source§impl Debug for OnRocketLaunchOrderedEvent
impl Debug for OnRocketLaunchOrderedEvent
Source§impl Default for OnRocketLaunchOrderedEvent
impl Default for OnRocketLaunchOrderedEvent
Source§fn default() -> OnRocketLaunchOrderedEvent
fn default() -> OnRocketLaunchOrderedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnRocketLaunchOrderedEvent
Auto Trait Implementations§
impl Freeze for OnRocketLaunchOrderedEvent
impl RefUnwindSafe for OnRocketLaunchOrderedEvent
impl Send for OnRocketLaunchOrderedEvent
impl Sync for OnRocketLaunchOrderedEvent
impl Unpin for OnRocketLaunchOrderedEvent
impl UnsafeUnpin for OnRocketLaunchOrderedEvent
impl UnwindSafe for OnRocketLaunchOrderedEvent
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